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?
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
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?.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.