READKS Example


Example:

 

  

READKS

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 READKS)

 

 



PL/B Language Reference READKP Example RECORD Examples