READKP Example


Example:

 

  

READKGP

MYFILE;VAR1,*120,VAR2

 

Logical file:

MYFILE

Variables:

VAR1 and VAR2

List controls:

*120 (tab to position 120 within the record before reading VAR2)

Partial read:

No semi-colon specified (full record READKGP)

 

 



PL/B Language Reference READKG Example READKP Example