z/OS MVS Programming: Sysplex Services Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example

z/OS MVS Programming: Sysplex Services Reference
SA38-0658-00

Create a member MEMB2 in a group MYGROUP with a user state of X'11'. MYAREA points to the area where XCF is to return member information. XCF is to store the return code and reason code into the variables RETURN and REASON. The code is as follows:
         IXCCREAT GRPNAME=MYGROUP,ANSAREA=MYAREA,ANSLEN=AREALEN,       X
               MEMNAME=MEMB2,USTATE=STATE,USLEN=LEN,                   X
               RETCODE=RETURN,RSNCODE=REASON,MF=S

RETURN   DS    1F                       RETURN CODE
REASON   DS    1F                       REASON CODE
MYAREA   DS    CL124                    OUTPUT AREA TO CONTAIN DATA    X
                                        RETURNED BY IXCCREAT
MYGROUP  DC    CL8'MYGROUP '            GROUP NAME
MEMB2    DC    CL16'MEMB2           '   MEMBER NAME
STATE    DC    X'11'                    USER STATE VALUE FOR THIS      X
                                        MEMBER
LEN      DC    F'1'                     LENGTH OF USER STATE FIELD
AREALEN  DC    F'124'                   LENGTH OF OUTPUT AREA

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014