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
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


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