Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Beginner

Status
Not open for further replies.

Paolast

Programmer
Nov 6, 2002
7
ES
Hi Everybody,
I'm a beginner in Cobol, in my work uses cobol, but I haven't idea about it. Anybody can help me, how can I run a ISPF panel with a cobol program? What can I do?

I read a tso guide, but I can't execute this.

Thank you in advance,
Paola
 
Hi Paola,
To display an ISPF panel in Cobol you have to call ISPLINK passing to it the predefined panel name. Any variables defined on the panel that you may wish to use within the cobol will have to have their names VDEFINE'd and then the values pulled into the program using VGET. You probably need to have a look at the ISPF Dialog Manager guide, which will give you a background on these functions.
Hope this helps

Marc
 
Hi Marc,
I looked at the ISPF Dialog Manager Guide but, I don´t find a good reference that help me.
Otherwise, Have you got an simple examples of Panels and program that give me a good reference?.

Thank you in advance,

Paola
 
Hi,

to find all kinds of sources for COBOL to use ISPF functions, use the MODEL command in your edit session.

The MODEL command reacts on your profile in your session. The last part of the file name defines the profile. You can change the profile by giving the ISPF command:

PROF COBOL

It is cobol now. After that you put on a line an A and behind the commandline the command MODEL.

Now you see the possibilities. Every choice is filled with planty ==NOTE== information. If you want to change them into data, use the line command MD to Make Data of them.

Regards,

Crox
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top