how to display comp3 variables reply soon ?
Answer Posted / chandra
SELECT ACCT-FILE ASSIGN TO UT01.
01 A pic s9(5)comp-3 value 12345.
01 ACC-REC.
02 B pic s9(5)comp-3.
02 FILLER X(77).
PD.
OPEN ACCT-FILE.
MOVE A TO B.
WRITE ACC-REC.
BROWSE THE FILE AND WRITE HEX ON IN THE COMMAND PROMPT THEN
PRESS ENTER....IT WILL SHOW U THE COMP-3 VALUE.....
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What are the pertinent COBOL commands?
What are all the divisions of a COBOL program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is Pic 9v99 Indicates in COBOL?
what is the difference between COBOL2 AND COBOL390?
What are the different open modes available in cobol?
What rules are to be followed while using the corresponding options?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Explain how to differentiate call by context by comparing it to other calls?
example for sub strings ? and refernce modifications whit output pls
Explain the configuration section of a cobol program with examples of syntax.
What rules are followed by the search verb.
Explain how you can characterize tables in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?