Hi,
I have a query in String function.
How can i write a record to new line using strings
Please look in the below code .
STRING
"Historical Flag" ","
"Future Flag" ","
"Active Flag" ","
"Item-Cancel" ","
"RCP" ","
"Pages" ","
"Status"
" "
W-CR-D
W-LF-D
DELIMITED BY SIZE
INTO
W-ITMUPD-HEADER
END-STRING.
the two variables
W-CR-D
W-LF-D
are defined in working storage section as
01 W-CR PIC 9(001) VALUE 13 COMP.
01 W-CR-D REDEFINES W-CR PIC X(1).
01 W-LF PIC 9(001) VALUE 10 COMP.
01 W-LF-D REDEFINES W-LF PIC X(1).
so request you to let me know the functionality of the variables W-CR-D and W-LF-D
purpose of using this variavles in the code .
Thanks,
radha