> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Miklos Szigetvari
> Sent: Monday, February 13, 2006 4:13 AM
> To: [email protected]
> Subject: Multiple ISPF session's from an STC
> 
> 
> Hi
> 
> I would like to start multiple ISPF applications from an STC 
> ( a "WebServer"
> like application)
> 
> ( Different requests arive paralell and start REXX exec's 
> which will call
> different ISPF services )
> 
> What are the minimal requirements for dataset allocations 
> (ISPPROF etc ) ?
> 

This is a PROC that I use to run ISPF in a batch job. You can use it as
a model for your STC.

//ISPFBTCH PROC
//*
//ISPFBTCH EXEC  PGM=IKJEFT01,
//             TIME=NOLIMIT,
//             DYNAMNBR=299,
//             REGION=8M
//SYSTERM  DD  SYSOUT=*,TERM=TS
//SYSPRINT DD  SYSOUT=*,TERM=TS
//SYSIN    DD  TERM=TS
//SYSTSPRT DD  SYSOUT=*,TERM=TS
//SYSTSIN  DD  TERM=TS
//SYSPROC  DD  DSN=SYS1.LI.CLIST.CNTL,DISP=SHR
//SYSEXEC  DD  DSN=SYS1.LI.CLIST.CNTL,DISP=SHR
//SYSLBC   DD  DSN=SYS1.BRODCAST,DISP=SHR
//ISPPROF  DD  SPACE=(TRK,(10,10,100)),
//             DCB=(SYS1.MACLIB)
//ISPLOG   DD  SYSOUT=*,
//             LRECL=121,RECFM=FBA,
//             BLKSIZE=121,BUFNO=1
//ISPLIST  DD  SYSOUT=*,
//             LRECL=121,RECFM=FBA,
//             BLKSIZE=121,BUFNO=1
//ISPPLIB  DD  DSN=ISP.SISPPENU,
//             DISP=SHR
//ISPTLIB  DD  DSN=ISP.SISPTENU,
//             DISP=SHR
//ISPMLIB  DD  DSN=ISP.SISPMENU,
//             DISP=SHR
//ISPSLIB  DD  DSN=ISP.SISPSLIB,
//             DISP=SHR

Modify the dataset names as required in your shop. Especially the
SYS1.LI.CLIST.CNTL which is the weird name for our in-house CLIST
library. Depending on what you are doing, you may need more datasets
concatenated to the various DD statements. The above are the MIMIMAL
ones that I have gotten to work.

Remember that whatever you do in ISPF, you had better not try to display
any terminal oriented data. There is no terminal to display it upon and
you will get an error in the ISPLOG.

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to