Could someone give me a synopsis of what this block of code does
so I can see if I'm starting to understand?

  PRINTLINE CHANNEL 2;
     POSITION 10 MM 260 MM
     COLOR BLUE REPEAT 2;
   CONDITION PAGE2 START 1 LENGTH 1
     WHEN GE X'00' AFTER SUBPAGE
        NULL PAGEFORMAT PG2;
  ENDSUBPAGE; 

PAGEFORMAT PG2;
....

My best guess from a quick read of the manual is;
PRINTLINE retrieves and prints the next line from the input data file
CHANNEL 2 identifies where the carriage control character is and
          acts accordingly
CONDITION (named PAGE2) checks the first character (for a length of 1)
And WHEN it this character is > or = to hex '00' it does ... 
  (I sort of lose it here)
   I guess it does the NULL PAGEFORMAT PG2 AFTER it prints the line???

Thanks for any insights
Bill




______________________________________________________________________
CONFIDENTIALITY NOTICE: This email from the State of California is for the sole 
use of the intended recipient and may contain confidential and privileged 
information. Any unauthorized review or use, including disclosure or 
distribution, is prohibited. If you are not the intended recipient, please 
contact the sender and destroy all copies of this email.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to