This function requests the RDJFCB service of the operating system and obtains a copy of the job file control block (JFCB).
jfcb = RDJFCB(ddname)
Parameters
176-byte job file control block, if the function is successful. Otherwise, error text is returned.
DDname of the file whose JFCB you want to read.
ARG 1 MISSING OR INVALID
DDNAME not found
Example
jfcb = rdjfcb('SYSUT1') /* Obtain copy of the Job File Control Block */ dsname = substr(jfcb,1,44) /* Extract the file's dsname */ dsname = strip(dsname) /* Remove trailing blanks */
Copyright © 2014 CA Technologies.
All rights reserved.
|
|