kamran
New User
Joined: 01 May 2005 Posts: 55
|
|
|
|
Hi,
Also I don't know what is forced you to use rexx program in an instream card but Try this one maybe it matches your need!
// JOB CARD ...
// EXEC PGM=IEBUPDTE,PARM=NEW
//SYSPRINT DD SYSOUT=T
//SYSUT2 DSN=&&EXEC,DISP=(,PASS),UNIT=3390,
// SPACE=(TRK,(5,5,2)),DCB=(LRECL=80,RECFM=FB)
//SYSIN DD DATA,DLM='!!'
./ ADD NAME=Your Rexx Program Name
code here the rest of the rexx program
!!
// EXEC PGM=IKJEFT01,DYNAMNBR=20
//SYSPROC DD DSN=&&EXEC,DISP=(OLD,DELETE)
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
%Your Rexx Program Name
/*
manas_gaur01 wrote: |
hi,
I have a rexx program that I need to run from a JCL.
The requirement is that it should be given as instream instead of specifying the pds where it is stored.
please let me know if this is possible.
thanks,
manas |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
manas, a REXX exec MUST exist as a member in a PDS in order for it to be executed. I think whoever gave you the requirement is trying to trip you up. |
|