CARLa

CARLa to list RACF user’s attributes

The following CARLa will produce a list of RACF userids and their attributes: newlist type=RACF select class=user segment=base sortlist key(8) pgmrname owner dfltgrp revoke(8) special operations auditor   The output report produced is: Profile Name         Owner   DfltGrp Revoked Spc Opr Aud USER01  TEST USER 01 TESTGRP TESTGRP YES USER02  TEST […]
FAQ
Tech - Mainframe

Useful Commands for zSecure zAlert

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 […]
FAQ
Command Verifier

Useful Commands for zSecure Command Verifier

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 […]
JCL

Delete content of a sequential dataset using IDCAMS

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 […]
JCL

Copy content of one Dataset into another using IEBCOPY

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.