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
Answers were Sorted based on User's Feedback
What is comp-1 and comp-2?
hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...
What is IMPACT analysis?
COMP field occupy ?
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.
how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it
Consider the following code: 77 A PIC 99V99 VALUE 55.35 77 B PIC 99V999 VALUE 32.754 ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!" What will be the result ? (a) A=88.10, B=32.754 (b) A=87.00 B=32.754 (c) A=87.10 B=32.754 (d) ERROR!!! will be DISPLAYed on the screen.
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
i want to learn mainframes. i completed MCA ,whats the future of mainframes
what is the meaning of pic 9(09)v99-
i want to store 20 digits . h will u do it in cobol ?