IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

rexx program as instream to jcl


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
manas_gaur01

New User


Joined: 07 Jun 2006
Posts: 2
Location: Pune

PostPosted: Wed Jun 07, 2006 11:43 am
Reply with quote

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
Back to top
View user's profile Send private message
kamran

New User


Joined: 01 May 2005
Posts: 55

PostPosted: Wed Jun 07, 2006 3:55 pm
Reply with quote

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
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Jun 07, 2006 5:57 pm
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Run rexx with JCL Job CLIST & REXX 1
No new posts Run rexx in batch job CLIST & REXX 7
No new posts Does anyone know rexx for VSE CLIST & REXX 3
No new posts TSO ALLOC In REXX Needs Improvement JCL & VSAM 3
No new posts REXX/CMS How to place command console... CLIST & REXX 4
Search our Forums:

Back to Top