01 a pic x(6) value is abcdef
01 b pic x(3)
move a to b wht will be the value in b ?
Answers were Sorted based on User's Feedback
How to retain the Duplicates in the one records?
what will happen if i give program name and member name as different? program runs successful or w'll abend?
how do you reference the rrds file formats from cobol programs
Name the divisions, which are available in a cobol program?
which is better comp or comp-3 in terms of memory utilization?
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
comp-3 field occupy?
How will you find the currepted records in a file
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?
8 Answers Arigo Infotech, IBM,
how do you reference the printer file formats from cobol programs