S3L_get_attribute uses the following argument for output:
ier (Fortran only) - When called from a Fortran program, S3L_get_attribute returns error status in ier.