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

Reply via email to