Answer Posted / azharuddinsyed
'SET TO TRUE' is used to set the value of 88 level data items.
Example
-----------
05 ws-paper pic x(1).
88 ws-hindu value 'y'.
88 ws-toi value 'n'.
if set ws-hindu to true, then ws-paper contains value 'y'
This is same as move 'y' to ws-paper
if set ws-toi to true, then ws-paper contains value 'n'
This is same as move 'n' to ws-paper
Please correct me if i am wrong.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a report item?
What are the various section in data division and briefly explain them.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Write down the divisions of cobol program?
What rules are followed by the search verb.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Write some characteristics of cobol as means of business language.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how do you reference the printer file formats from cobol programs
State the various causes of s0c1, s0c5 and s0c7.
What is rmode(24)
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the difference between PIC 9.99 and PIC9v99?
What are all the divisions of a COBOL program?
What is difference between static and dynamic call in cobol?