Yes, you need VDEFINEs to map the ISPF dialog variable names to storage locations in your Assembler program, so that VGET knows where to save the data it gets.
-----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Beverly Caldwell Sent: Wednesday, August 1, 2018 2:43 PM To: [email protected] Subject: Re: Need help with ISPF Dialogue Manager and VGET Well, you are almost there, Paul. You seem to have the hang of this. What do you need, someone to write it for you? On Mon, Jul 30, 2018 at 1:45 PM, [email protected] <[email protected]> wrote: > Hello, > . > I need some clarification on using the ISPF VGET Service in an > Assembler Program, the examples I've found were not much help. > . > . > I have a CLIST which issues a VPUT for three Fields Name, City, > STATE. These variable are placed on the SHARED POOL. > The CLIST then invokes an Assembler Program which should issue a VGET > for the three variables and write them to a VSAM dataset. > . > In the examples I found I never see the Variables for the VGET defined > in the program. > . > I suspect I need to first issue a VDEFINE, with a Name List, Variable > list, Format List and Length List prior to issuing the VGET. > . > THE VGET SERVICE only identifies a name-list like NAME-LIST EQU * > DC A(3) > DC A(0) > DC CL8'NAME ' > DC CL8'CITY ' > DC CL8'STATE' > . > Do I need to issue a VDEFINE first for the Variables specified in the > VGET. Would someone please clarify .... > . > . > Paul > . > . > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
