CALLIDCAMS
This function calls the z/OS IDCAMS utility. It passes the parameter values defined by the %IDCAMS1 - %IDCAMS40 variables to the z/OS IDCAMS utility. The output of the IDCAMS utility is displayed in the scripting SYSTRACE DD statement. Special variable %RC is set with the code returned by the IDCAMS utility.
The format of this function is
CALLIDCAMS. For example,
SET %IDCAMS1 = " /* COMMENT LINE 1 */" SET %IDCAMS2 = " LISTCAT ENT(S7T.MFTTCB.AUDIT) ALL" SET %IDCAMS3 = " /* COMMENT LINE 3 */" CALLIDCAMS SAY Return code from CALLIDCAMS=%RC
Copyright © Cloud Software Group, Inc. All rights reserved.