READKP Example


Example:

 

  

READKP

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 was specified (full record READKP)

 

 



PL/B Language Reference READKGP Example READKS Example