SQ - Starting a session with a CSVQUERY token

The calling application identifies a program that is currently loaded in virtual storage by providing a token returned from the MVS™ CSVQUERY service. This service cannot be used to access a program in LPA or LLA.

Note that the loaded program is only that portion of the program object required during execution. Stored program objects contain a good deal of information in addition to that required during execution. That additional information will be needed for the "Get" type services described later, so this service call, like the other Start service calls, will locate the program object on DASD and read it.

Table 1. SQ parameter list
Parameter Usage Format Content
1 in structure 'SQ', X'0001'
2 in/out binary word mtoken

Must contain zero when the service is called. The service will supply a value if the service is successful.

3 in 2 words eptoken

An 8-byte field with content provided by the CSVQUERY service.

Sample assembler code

         CALL  (15),(SQIL,MTOKEN,CSVTOKEN),VL

SQIL     DC    C'SQ',X'0001'
MTOKEN   DC    F'0'          Replaced by the service
CSVTOKEN DS    D             Supplied by CSVQUERY