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 REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


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