Thanx John,

This basically worked; I didn't have to add much more than to use a DSN, for 
the new ISPF profile dataset. 

After working through various ISPF errors, the program works- except that it 
does not display the panels!  It executes the VDEFINE's properly and after a 
CALL ISPLINK (or the ISPEXEC that Steve Comstock suggested) to display the 
panel, the return code is zero- but there was never a panel display.

Since the VDEFINE's all worked, I assume that I have the panel variables set up 
properly in Working-Storage.  Now all I can think of is parms in the compile 
proc or special FD's in the program, to communicate with the ISP* ddnames in 
the JCL.

Any further ideas on what I might do in the program, to get ISPF panels to 
display?

Thanx!
        Warren

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]
Behalf Of McKown, John
Sent: Monday, November 13, 2006 3:48 PM
To: [email protected]
Subject: Re: Displaying ISPF Panels from a COBOL program

Warren,

You cannot share a ISPF profile dataset. You likely ran the job while
you were still in ISPF on TSO. This doesn't work. What I do is just have
a temporary ISPF profile dataset in my JCL

//ISPPROF DD SPACE=(CYL,(10,1,100)),
// RECFM=FB,LRECL=80,BLKSIZE=0,DSORG=PO

On the ISPSTART command, use PGM instead of CMD

ISPSTART PGM(MYCOBOL) PARM('PARM, IF ANY')

--
John McKown

----------------------------------------------------------------------
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