IDCAMS

IDCAMS
IDCAMS ("[|Access Method Services]") generates and modifies [|VSAM] and Non-VSAM datasets. The "Access Method" reference derives from the initial "VSAM replaces all other access methods" mindset of [|OS/VS]. It probably has the most functionality of all the utility programs, performing many functions, for both [|VSAM] and non-[|VSAM] files. It was intended to replace most of the other dataset utility programs. Example: code //XXXXXXXW JOB XXXXXXX,AAAA,CLASS=G,MSGCLASS=1,NOTIFY=&SYSUID //STEP001 EXEC PGM=IDCAMS //SYSIN   DD * REPRO INFILE(FILE01) OUTFILE(FILE02) /* //FILE01  DD DSN=PROD.FILE1.INPUT,DISP=SHR //FILE02  DD DSN=PROD.FILE2.OUTPUT, //           DISP=(NEW,CATLG,DELETE), //           UNIT=DASD, //           SPACE=(TRK,(100,10),RLSE), //           DCB=(RECFM=FB,BLKSIZE=0,LRECL=80) //SYSPRINT DD SYSOUT=* //SYSOUT  DD SYSOUT=* //SYSUDUMP DD SYSOUT=9 //*

code