View previous topic :: View next topic |
Author |
Message |
Sarangadhar Beginner
Joined: 14 Oct 2004 Posts: 130 Topics: 43 Location: virtual village
|
Posted: Wed Sep 20, 2006 5:42 pm Post subject: 2 JCLs for TSO-rexx |
|
|
Hi,
I have rexx that make calls to TSO like allocate ..
I have two kinds of jcls using IKJEFT01..
1) One which has all the DDnames including SYSPROC, ISPPLIB,ISPMLIB,ISPSLIB,ISPTLIB,ISPTABL,ISPPROF,ISPCTL0,
ISPCTL1,ISPCTL2,ISPWRK0,ISPWRK1,ISPWRK2, and SYSTSIN copied from ISRDDN.
2)otherone contains just SYSTSIN card like this
Code: |
//RUNEXEC EXEC PGM=IKJEFT01
//SYSEXEC DD DISP=SHR,DSN=PDS-of-rexx-execs
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
%rexxpgm params
/*
|
As of now we did not use the rexx-tso in production enviroment. Now its time to use it. Would the 2nd JCL is enough in production environment or I need to define all the cards as given in 1st JCL? Would the 2nd JCL allocate the default datasets from ISRDDN? _________________ Thanks |
|
Back to top |
|
|
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Thu Sep 21, 2006 12:21 am Post subject: |
|
|
It's simple: The JCL with all the ISPF cards (ISPsomething) is used for REXXs containing ISPF services or Edit-Macro statements. Those can be identified by "ADDRESS ISPEXEC" or "ADDRESS ISREDIT".
O.
________
vaporizer answer
Last edited by ofer71 on Sat Feb 05, 2011 11:49 am; edited 1 time in total |
|
Back to top |
|
|
Sarangadhar Beginner
Joined: 14 Oct 2004 Posts: 130 Topics: 43 Location: virtual village
|
Posted: Thu Sep 21, 2006 1:42 pm Post subject: |
|
|
Thanks O.
So for the TSO calls (identified by ADDRESS TSO), 2nd JCL is enough.
And for ISPF calls, 1st JCL is needed. _________________ Thanks |
|
Back to top |
|
|
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Thu Sep 21, 2006 3:01 pm Post subject: |
|
|
True.
O.
________
honey oil |
|
Back to top |
|
|
|
|