01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b
wht will be the value ?
Answer Posted / nilesh
456 would be the value in b.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What guidelines should be followed to write a structured cobol prgm?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is length is cobol?
how to refer the data field?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Which mode is used to operate the sequential file?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How to remove 2 duplicate records and copy only one using job control language?
What is report-item in COBOL?
Can we change the password using ALTER? anyone tried and changed?
How do you reference the fixed block file formats from cobol programs
Explain the configuration section of a cobol program with examples of syntax.
how do you reference the variable unblock file formats from cobol programs
Why did you choose to work with ibm mainframe cobol programming?