Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The JCL below executes IEBCOPY to copy the programs and their aliases to a LNKLST library. Change #HLQ to the appropriate high-level qualifier for your installation and change the data set allocated to ddname OUT to the target PDSE in the LNKLST. The job must end with return code 0.

<pre>
//jobname  JOB CLASS=A,MSGCLASS=H,NOTIFY=&SYSUID,COND=(0,NE)
//STEP1    EXEC PGM=IEBCOPY,PARM='RC4NOREP'
//IN       DD  DISP=SHR,DSN=#HLQ.SUNVLOAD
//OUT      DD  DISP=SHR,DSN=lnklst.pdse
//SYSUT3   DD  UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT4   DD  UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
  COPYGRP I=((IN,R)),O=OUT
  S M=UAGRERUN
  S M=UAGCMDZ
/*
</pre>
Panel
Html bobswift

SETPROG LNKLST Command

The SETPROG LNKLST command dynamically modifies the LNKLST. The LNKLST changes remain in effect until the next IPL. Use one of the other methods to add the load library permanently to the LNKLST.

...