01 xxx pic 9(4).
01 yyy pic 9(6).
move 123456 into yyy.
move yyy to xxx.
display yyy.
what would be the value of yyy
Answer Posted / vjay
we cannot move yyy to xxx ....see the data length
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
how do you define single dimensional array and multidimensional array in your cobol?
Can a Search can be done on a table with or without Index?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Can you please let me know the centre name of INS certification in Kolkata.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
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.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Are you comfortable in cobol or jcl?
What is the difference between comp and comp-3 usage?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How arrays can be defined in COBOL?
What is static and dynamic call in cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.