MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BATCH programming for REXX using JCL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
vinubond
Beginner


Joined: 05 Apr 2006
Posts: 1
Topics: 1

PostPosted: Wed Apr 05, 2006 3:49 am    Post subject: BATCH programming for REXX using JCL Reply with quote

Hi I was trying to write a JCL to run REXX, I have used arg command to input values for 3 variables which I insert through systsin statement in JCl

here is a snapshot of the JCL
Code:

//TTOICA1S JOB 1,CLASS=6,MSGCLASS=X,NOTIFY=&SYSUID                   
//STEPNAME EXEC PGM=IKJEFT01,DYNAMNBR=30,REGION=600M                 
//SYSTSPRT DD SYSOUT=*                                               
//SYSEXEC  DD DSN=(PDS where the program is present) ,DISP=SHR                             
//SYSTSIN  DD *                                                       
  %(program name) value1  value2  value3
/*                                                                   

the Jcl ran fine... but there was no output records written, as it should have... works fine if not run by batch
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Apr 05, 2006 4:08 am    Post subject: Reply with quote

vinubond,

Check this link which explains in detail about running rexx in batch

http://mvsforums.com/helpboards/viewtopic.php?t=5276

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Wed Apr 05, 2006 7:07 am    Post subject: Reply with quote

Hmm. A job done in the same way as vinubond's post worked fine for me.
Back to top
View user's profile Send private message
Heikki
Beginner


Joined: 22 Feb 2006
Posts: 6
Topics: 0
Location: Stockholm, Sweden

PostPosted: Wed Apr 05, 2006 8:33 am    Post subject: Reply with quote

Worked fine for me to..
_________________
Heikki Elenius
Elenius Enterprise
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group