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
Explain how you can characterize tables in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What do you understand by psb and acb?
How are the next sentence and continue different from each other?
how to move the records from file to array table. give with code example
HOw can I get the negative sign while deduct high value from low value
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
how do you reference the rrds file formats from cobol programs
What are the different rules for performing sort operation?
What are the different data types in cobol?
Can we change the password using ALTER? anyone tried and changed?
Which division and paragraphs are mandatory for a COBOL program?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
In COBOL programming, what is PERFORM? What is VARYING?
I have a File that has duplicate records. I need only those records that occur more than thrice.?