01 a pic 9(3) value is 123
01 b pic 9(6)
move a to b
wht will be the value ? and
01 a pic x(6) value is abc
01 b pic x(3)
move a to b
wht will be the value ?
Answer Posted / arthi
1.
000123
2.
abc
Ravi, I guess you didnt mean the '-' as a minus sign in front of 000123, and abc. your answer is not clear enough.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Why would you use find and get rather than to obtain?
What are the cobol coding sheets?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are literals?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is a report item?
Discuss about changing dataset name in proc.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the local-storage section?
How do you define a variable of comp-1 and comp-2?