The following entries appear in the WORKING-STORAGE SECTION:
01 DATE-TODAY.
05 YY PIC XX VALUE "90".
05 MM PIC XX VALUE "12".
05 DD PIC XX VALUE :31".
01 DATE-EDIT PIC XX/XX/XX.
MOVE DATE-TODAY TO DATE-EDIT.
(a) 901231
(b) 90/12/31
(c) 31/12/90
(d) 311290
Answer Posted / sakthivel kannan
The answer is (a) only
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is an in line perform? When would you use it? Anything else you wish to say about it.
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Write the code to count the sum of n natural numbers.
What is a SSRANGE and NOSSRANGE?
What are the cobol coding sheets?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Which Search verb is equivalent to PERFORM…VARYING?
Name the sections present in data division.
Why did you choose to work with ibm mainframe cobol programming?
what is the use of outrecord?
What is the local-storage section?
What rules are to be followed while using the corresponding options?
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.