Useful Commands for zSecure zAlert

July 31, 2014 Rui Miguel Feio

Following is a list of some of the most useful commands when dealing with zSecure zAlert: Action Command Start STC /S C2POLICE Stop STC /F C2POLICE,STOPor /P C2POLICE Refresh /F C2POLICE,REFRESH Start Collection /F C2POLICE,COLLECT Stop STC  * /F C2POLICE,SIPL Display status /F C2POLICE,DISPLAY * To be used when upgrading to […]

Useful Commands for zSecure Command Verifier

July 31, 2014 Rui Miguel Feio

Here’s a list of some of the most useful commands when dealing with zSecure Command Verifier (CV): Action Command Activate CV /SETPROG EXIT,ADD,EXITNAME=IRREVX01,MODNAME=C4RMAIN,STATE=ACTIVE Remove CV /SETPROG EXIT,DELETE,EXITNAME=IRREVX01,MODNAME=C4RMAIN Check CV status TSO C4RSTAT Enable CV /SETPROG EXIT,MODIFY,EXITNAME=IRREVX01,MODNAME=C4RMAIN,STATE=ACTIVE Disable CV /SETPROG EXIT,MODIFY,EXITNAME=IRREVX01,MODNAME=C4RMAIN,STATE=INACTIVE Refresh RACF XFACILIT class SETROPTS RACLIST(XFACILIT ) REFRESH Refresh LLA […]

Delete content of a sequential dataset using IDCAMS

July 31, 2014 Rui Miguel Feio

The following JCL will delete the content of a sequential dataset without deleting it using the IDCAMS utility: //DELCONT  EXEC PGM=IDCAMS //DDDMMY   DD DUMMY //DDOUT    DD DISP=SHR,DSN=USER1.MYDATA.EXAMPLE //SYSPRINT DD SYSOUT=* //SYSOUT   DD SYSOUT=* //SYSIN    DD * REPRO IFILE(DDDMMY) OFILE(DDOUT)   Replace USER1.MYDATA.EXAMPLE by the sequential dataset you wish to delete […]

Copy content of one Dataset into another using IEBCOPY

July 31, 2014 Rui Miguel Feio

The following JCL will allow you to copy the content of one dataset into another via batch job: //COPY EXEC PGM=IEBCOPY //SYSPRINT DD SYSOUT=* //IN  DD DISP=SHR,DSN=USER1.MYDATA.EXAMPLE //OUT DD DISP=SHR,DSN=USER2.MYDATA.FORYOU //SYSIN DD * COPY INDD=IN,OUTDD=OUT Replace USER1.MYDATA.EXAMPLE and USER2.MYDATA.FORYOU by your own dataset names.