Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

rexx program as instream to jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: rexx program as instream to jcl
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    Post subject: Re: rexx program as instream to jcl
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

Moderator Team Head


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

PostPosted: Wed Jun 07, 2006 5:57 pm    Post subject: Re: rexx program as instream to jcl
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us