Skip to content

Instantly share code, notes, and snippets.

@mainframed
Created May 12, 2017 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mainframed/131bececd8bcc57acccaaefa1d9968f8 to your computer and use it in GitHub Desktop.
Save mainframed/131bececd8bcc57acccaaefa1d9968f8 to your computer and use it in GitHub Desktop.
//USERIDJ JOB (GREP),'Job to search a PDS for passwords',
// NOTIFY=&SYSUID,
// MSGCLASS=H,
// MSGLEVEL=(1,1),
// REGION=0M
//GREP EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,ANYC,IDPFX,NOPRTCC)
//NEWDD DD DSN=USER.OPS.JCL,DISP=OLD
//* Add further DD datasets here
//* DD DSN=HLQ1.PDS.FILE,DISP=OLD
//* DD DSN=HLQ2.PDS,DISP=OLD
//* DD DSN=DEMO.EXAMPLE,DISP=OLD
//OUTDD DD SYSOUT=A
//SYSIN DD *
SRCHFOR 'USER='
SRCHFOR 'PASSWORD='
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment