Dhanu60 wrote: |
Hi kolusu,
Let me give you the details about my question.. I want to create a Rexx tool to get all saverss details for the list of jobs in the file. As of now we are manually checking $AVERS.. I was trying to automate this via REXX. Can you please give me some sample jcl to execute through rexx. Can you please help. |
Code: |
/* REXX to call $AVRS */ "FREE FI(SYSPRINT SYSUDUMP $AVRLOCK SYSUT1 SYSUT2 SYSIN)" "ALLOC FI(SYSPRINT) DA(*)" "ALLOC FI(SYSUDUMP) DA(*)" "ALLOC FI(SYSUT1) DA('$SAVRS.DATABASE.ARCHIVE') REUSE" "ALLOC FI(SYSUT2) DA('Your.Output.Dataset') SPACE(10,20) RECFM(F B), REUSE CYLS RELEASE" "ALLOC FI(SYSIN) DA('Your.$avrs.Job.select.control.cards') SHR REUSE" ADDRESS LINKMVS $AVRSELR |
output generated using printer-friendly topic mod. All times are GMT - 5 Hours