Hi 

Not  withstanding anything which has been posted earlier, If we assume that
the original requirement was to exploit ISPF Services within a REXX
executing inside IKJEFT01 rather than IXXJCL, the simplest first step is to
ensure that the required ISPF data sets are included in the JCL.

If that is the case then either of these methods can be used to:

"ISPSTART CMD(dialog" any_parm_data ")"

TSO Batch is different to TSO Foreground as ISPF is not automatically there
so providing the files are accessibly, the above will start the Batch ISPF
environment within Batch TSO, and run the nominated script.

Within the nominated script there are two methods of accessing ISPF
Services:

Method 1:

Address ISPEXEC  /* Set ISPF as the default Host Environment rather than TSO
*/
"VPUT (odsn)"     /* Save for ISPF use.             */  
"LMDINIT LISTID(V1) LEVEL("HLQ")"                       

Method2:

/* Keep TSO as the default Host Environment */
Address ISPEXEC "VPUT (odsn)"     /* Save for ISPF use.             */  
Address ISPEXEC "LMDINIT LISTID(V1) LEVEL("HLQ")"                       

The above are adapted extracts from some routines written to capture and
offload some data sets with a particular HLQ.

Kind Regards - Terry
 
Director
KMS-IT Limited
228 Abbeydale Road South
Dore
Sheffield
S17 3LA
UK
 
Reg : 3767263
 
Outgoing e-mails have been scanned, but it is the recipients responsibility
to ensure their anti-virus software is up to date.
 
 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to