01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b
wht will be the value ?
Answers were Sorted based on User's Feedback
In EBCDIC, how would the number 1234 be stored?
Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.
How many bytes S(8) comp field occupy and its maximum value?
1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?
what is a zoned decimal data type and how it will be stored?
Minimum how many Number of Paragraphs are there in ID- Divison?
I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.
What is difference between static and dynamic call in cobol?
01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is XDC ?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?