hello all....
is there an equivalent cobol statement that would behave similar to the varying statement that is available for variable length in RPGLE?
i know with RPGLE, i could use a data structure with a varying length and do %trim to eliminate any blanks....does cblle have anything like that?
my coworker is attempting to write a quick program to pass data for use with xml request...but the request could possibly produce 1 record or xxx number of records...he believes using 01 level and coding static number (say 100) will pass 99 blank records should only 1 match be found...he does not know any other language besides opm cobol so i'm trying to find better way of coding...
any help is appreciated as always...
caren
is there an equivalent cobol statement that would behave similar to the varying statement that is available for variable length in RPGLE?
i know with RPGLE, i could use a data structure with a varying length and do %trim to eliminate any blanks....does cblle have anything like that?
my coworker is attempting to write a quick program to pass data for use with xml request...but the request could possibly produce 1 record or xxx number of records...he believes using 01 level and coding static number (say 100) will pass 99 blank records should only 1 match be found...he does not know any other language besides opm cobol so i'm trying to find better way of coding...
any help is appreciated as always...
caren
Comment