01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b
wht will be the value ?
Answer Posted / kiran
456
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are literals?
What is a SSRANGE and NOSSRANGE?
What is perform what is varying?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How can you get the ksds file records into your cobol program?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Are you comfortable in cobol or jcl?
what are decleratives in cobol?
What is the difference between comp and comp-3?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
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.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How do define dynamic array in cobol.
how do you reference the rrds file formats from cobol programs