View previous topic :: View next topic |
Author |
Message |
vinubond Beginner
Joined: 05 Apr 2006 Posts: 1 Topics: 1
|
Posted: Wed Apr 05, 2006 3:49 am Post subject: BATCH programming for REXX using JCL |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Apr 05, 2006 7:07 am Post subject: |
|
|
Hmm. A job done in the same way as vinubond's post worked fine for me. |
|
Back to top |
|
 |
Heikki Beginner

Joined: 22 Feb 2006 Posts: 6 Topics: 0 Location: Stockholm, Sweden
|
Posted: Wed Apr 05, 2006 8:33 am Post subject: |
|
|
Worked fine for me to.. _________________ Heikki Elenius
Elenius Enterprise |
|
Back to top |
|
 |
|
|