Go to LeighWeb Home Page            

Back To LeighWeb Mainframe Utilities Page

View the module associated with this documentation

 COUNTPIC - This edit macro command will take the current cursor position (which
 must be within the quotation marks of a COBOL VALUE clause) and compute the
 length of the string.  It only works for character VALUE clauses.
 Additionally, it will replace the value in the PICTURE clause if coded like
 this. - PIC x(kk) or PICTURE x(kk) The computation of the length will only work
 on VALUE clauses that are contained on one line.  It can replace the value, if
 the PICTURE clause and the VALUE clause are on separate lines.