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
I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?
if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.
What is the difference between PIC 9.99 and 9v99?
When and how can we use index & subscript ?
What type of Call you would use if you don;t want the control back to the calling program?
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
What is the Purpose of Pointer in the string?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the mode in which you will OPEN a file for writing?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Define static linking and dynamic linking.
can i use multiple when statements in search & search all ? justify ur answer?