IBM z/OS Management Facility (z/OSMF)

IBM z/OSMF

IBM z/OSMF

The IBM z/OS Management Facility framework improves programmer productivity by using simplified, streamlined and automated tasks. This easier-to-use functionality reduces both programmer training time and the learning curve.

 View Only
  • 1.  Job IZUD01UZ Step MOUNT error RC 512

    Posted 08/24/26 06:40 PM

    Job IZUD01UZ is failing with CC 512 in the MOUNT STEP.

    Joblog errors: 

    Current user identity:                                                          
    uid=0...etc  
    Is user authorized to obtain superuser authority?                               
      Yes, commands will run as superuser.                                          
    Work directory /tmp/izud-$C9D79Y-T2361494/unzip will be created.                
    Format the file system $C9D79Y.TEMP.T2361494.ZFS.                               
    IOEZ00077I HFS-compatibility aggregate $C9D79Y.TEMP.T2361494.ZFS has been successfully created
    Mount $C9D79Y.TEMP.T2361494.ZFS on /tmp/izud-$C9D79Y-T2361494/unzip.            
    ** mount command failure: rc=2                                                  

    FOMF0504I mount error: 81 594003D                              
    ENOENT: No such file, directory, or IPC member exists          
    JRDirNotFound: A directory in the pathname was not found       

    There are also these messages in the syslog:

    IOEZ00004I Formatting to 4096 control interval 1157760 for primary
    extent of $C9D79Y.TEMP.T2361494.ZFS.                              
    IOEZ00005I Primary extent loaded successfully for 750             
    $C9D79Y.TEMP.T2361494.ZFS.                                        
    IOEZ00048I Detaching aggregate $C9D79Y.TEMP.T2361494.ZFS          
    BPXF274I FILE SYSTEM .TEMP.T2361494.ZFS 752                       
    FAILED TO MOUNT.                                                  
    RETURN CODE = 00000081, REASON CODE = 0594003D                    

    My userid starts with a "$" so in earlier attempts, i tried to edit the JCL to remove the $ from the uss filenames. 

    Errors I got during those attempts were: 

    Joblog:

    Is user authorized to obtain superuser authority?                               
      Yes, commands will run as superuser.                                          
    Work directory /tmp/izud-C9D79Y-T2361494/unzip will be created.                 
    Format the file system $C9D79Y.TEMP.T2361494.ZFS.                               
    IOEZ00077I HFS-compatibility aggregate $C9D79Y.TEMP.T2361494.ZFS has been successfully created
    Mount $C9D79Y.TEMP.T2361494.ZFS on /tmp/izud-C9D79Y-T2361494/unzip.             
    ** mount command failure: rc=2                                                  
    FOMF0504I mount error: 81 EF096055                                              
    ENOENT: No such file, directory, or IPC member exists                           
    Description: Error with issuing a LOCATE call on an HFS-compat aggregate.       

    Syslog:

    IOEZ00004I Formatting to 4096 control interval 1157760 for primary 808 
    extent of $C9D79Y.TEMP.T2361494.ZFS.                                   
    IOEZ00005I Primary extent loaded successfully for 809                  
    $C9D79Y.TEMP.T2361494.ZFS.                                             
    IOEZ00048I Detaching aggregate $C9D79Y.TEMP.T2361494.ZFS               
    BPXF903I THE ATTRIBUTE RETRIEVAL CALL (IGWASMS) FOR FILE SYSTEM 811    
    .TEMP.T2361494.ZFS FAILED.                                             
    RC = 00000008, RS = 00000008, DIAG = 0000000000000000                  
    BPXF274I FILE SYSTEM .TEMP.T2361494.ZFS 812                            
    FAILED TO MOUNT.                                                       
    RETURN CODE = 00000081, REASON CODE = EF096055                         

    I don't think the /tmp directory was created but there was no error in the joblog.

    Has anyone run into this problem?

    Thanks,

    Gladys



    ------------------------------
    Gladys Behnke
    ------------------------------


  • 2.  RE: Job IZUD01UZ Step MOUNT error RC 512

    Posted 08/25/26 04:02 AM

    If the problem is MOUNT

    use 

    SUPERUSER.FILESYS.MOUNT at class UNIXPRIV for it



    ------------------------------
    Joao Bertuzzi
    ------------------------------



  • 3.  RE: Job IZUD01UZ Step MOUNT error RC 512

    Posted 08/25/26 08:36 AM

    Hi Gladys,

    We ran into a similar /tmp directory issue recently with a different special character in our user ids and, I believe, IBM z/OSMF has now taken an APAR on that issue.  I recommend opening a support case with IBM z/OSMF support for this issue if you have not already done so.  Also, as a temporary work around, we had a separate id created specifically for z/OSMF workflows that had this issue and that ID did NOT contain any special characters, and we got past this issue for now by using an id without the special characters.  If a separate non-special char id is an option for you, you could try that to rule in or out the special char in the id as the root cause.

    Hope this helps!

    Tracy



    ------------------------------
    Tracy Ison
    ------------------------------



  • 4.  RE: Job IZUD01UZ Step MOUNT error RC 512

    Posted 08/25/26 09:49 AM

    As Tracy suggests, there is an APAR (PH63621) whose fix addressed what sounds like very similar scenarios for userids that contain special characters, like $.  Not sure if this APAR fixes your exact situation, but if you're not running with that APAR fix, its worth a shot to install the PTF and regenerate the JCL.  I'd also consider using a userid without special characters if you have that option to enable you to move ahead more quickly.  And of course, you should open a support case.



    ------------------------------
    Kurt Quackenbush
    IBM, z/OS SMP/E and z/OSMF Software Management
    kurtq@us.ibm.com
    ------------------------------



  • 5.  RE: Job IZUD01UZ Step MOUNT error RC 512

    Posted 08/25/26 09:35 AM

    Gladys,

    I agree that opening a case with IBM is the best way forward.  It looks to me like the UNIX support is treating your $C9D79Y user ID as an environment variable.  Of course, there is no such environment variable, so you end up with either the zFS data set name or the /tmp mountpoint having a bad value because an empty string is substituted for $C9D79Y.



    ------------------------------
    John Czukkermann
    z/OSMF Development
    IBM Corporation, Poughkeepsie, NY
    czuk@us.ibm.com
    ------------------------------



  • 6.  RE: Job IZUD01UZ Step MOUNT error RC 512

    Posted 08/25/26 10:50 AM

    Thanks to everyone who looked at this and replied.

    I will open a ticket as suggested but I wanted to let everyone know how I got around the problem.

    But first, APAR PH63621 / PTF UO02326 is already applied and superseded by UO04784 on our systems.

    Job IZUD01UZ did not have the '\$' coded but job IZUD02ZF had it.

    I did mention in my post that I updated IZUD01UZ  to remove the "$" in the USS filenames but that gave me a different error.

    The workaround - I switched the mount commands in this section of the MOUNT step sysin code:  

    echo "Mount $dsn on $mpdir.";                                      
    if Ý $auth -ne 0 ¨; then;                                          
      /usr/sbin/mount -s nosetuid -t ZFS -f $dsn $mpdir;               
      rc=$?;                                                           
    else;                                                              
      echo "/usr/sbin/mount -s nosetuid -t ZFS -f $dsn $mpdir" | su;   
      rc=$?;                                                           
    fi;                                                        

           

    So the code that worked for me is:


    echo "Mount $dsn on $mpdir.";                                   
    echo "*** auth=$auth";                                          ==> auth=0
    if Ý $auth -ne 0 ¨; then;                                       
      echo "/usr/sbin/mount -s nosetuid -t ZFS -f $dsn $mpdir" | su;
      rc=$?;                                                        
    else;                                                           
      /usr/sbin/mount -s nosetuid -t ZFS -f $dsn $mpdir;            
      rc=$?;                                                        
    fi;                                                             

     

    Thanks all!



    ------------------------------
    Gladys Behnke
    ------------------------------



  • 7.  RE: Job IZUD01UZ Step MOUNT error RC 512

    Posted 08/25/26 12:14 PM

    Update, if anyone is interested.

    I ran the MOUNT step with another userid, with the original /usr/sbin/mount commands unchanged.

    I did change the USS filenames and ZFS dataset name to reflect the second userid.

    Job ran ok. 

    The difference is that the first userid that i used has uid=0(BPXROOT). 

    The second userid i used has uid=9000053 and is allowed  su.

    Does piping to su fail when uid is (0)?



    ------------------------------
    Gladys Behnke
    ------------------------------



  • 8.  RE: Job IZUD01UZ Step MOUNT error RC 512

    Posted 08/25/26 12:21 PM

    As far as I know piping to su should work fine if the uid = 0.  Open a support case to get to the bottom of this.



    ------------------------------
    Kurt Quackenbush
    IBM, z/OS SMP/E and z/OSMF Software Management
    kurtq@us.ibm.com
    ------------------------------