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 / pradip
1.
000123
2.
abc---
Well arthi, here - stands for blank space, correct me if am
wrong
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Why did you choose to work with ibm mainframe cobol programming?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
In COBOL, what is the different between index and subscript?
Name the sections present in data division.
What is rmode(24)
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Give some examples of command terminators?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is a scope terminator give example?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Can we change the password using ALTER? anyone tried and changed?
What is a SSRANGE and NOSSRANGE?
What is link edit in cobol?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Are you comfortable in cobol or jcl?