The HPDS2 Procedure

DATA Statement

  • DATA DS2GTF.out;

The DATA statement indicates the beginning of the DS2 code block. The code block terminates with the ENDDATA statement.

A reference to the DS2 driver (DS2GTF.out) must be included as part of the DATA statement. If an input data set is specified in the PROC HPDS2 statement, then a run() method must be included in the DS2 code block and the first statement after the METHOD RUN() statement must be the SET DS2GTF.in statement. DS2GTF.out and DS2GTF.in refer to the input and output data sets, respectively.