can we print comp 3 stmts how ?
Answers were Sorted based on User's Feedback
Answer / kaarthik
1. Redefine the comp-3 with a numeric field and then move
the numeric value to an Alphanumeric value and then Display
it.
Regards,
Kaarthik
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / amarnadh reddy
Another way is,
Use File-Aid, we can possible to see comp 3 stmts.
Ex: open File-Aid, 1st option means browse option. give
data set name and copy book layout and open F mode.
Is This Answer Correct ? | 5 Yes | 3 No |
Answer / saravana
Move it to other x() or 9() variable and display that variable
Is This Answer Correct ? | 0 Yes | 0 No |
Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?
DATAONLY, MAPONLY functionality?
wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?
77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How many bytes S(8) comp field occupy and its maximum value?
I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
SIGN TRAILING SEPARATE field occupy ?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
which is better either static call or dynamic call? and why?
How is sign stored in Packed Decimal fields and Zoned Decimal fields?