VGTDLI()

The system function VGTDLI()uses the CBLTDLI interface to invoke a DL/I function directly. It differs from the DLILib function EGLTDLI() only in that it uses an index variable to reference the PCB for the call, whereas EGLTDLI() uses the name of the PCB record. EGL includes this function to ensure compatibility with the CSPTDLI() function in VisualAge® Generator.

  VGLib.VGTDLI()(
    func CHAR(4) in,
    pcbindex SMALLINT in
    parms... ANY in)
func
A four-character DL/I function name such as ISRT or GHNP
pcbindex
A zero-based index following the lexical order of the fields in the program PSB (ignoring redefining fields), referencing a PCB
parms...
A complete list of parameters, matching in number and type those that the given DL/I function requires

To invoke a DL/I function using the AIBTDLI interface, use DLILib.AIBTDLI().

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.