Determine the total no of bytes in the following.
01 rec1.
02 a pic x(6)
02 b redefines a.
03 c occus 6 times pic 9.
02 d occurs 6 times pic 9.
03 e pic x(5)
03 f pic 999.
Answer Posted / imran ahmad
FIRST YOU HAVE TO REMOVE PIC CLAUSE FROM GROUP ITEM D
ANSWER IS 56
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are declaratives and what are their uses in cobol?
) what is the difference between AID and HANDLE AID?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
how do you reference the esds vsam file formats from cobol programs
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How do you get the data to code the BMS macro?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Define cobol?
What is the difference between next sentence and continue in cobol programing language?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How do you define a variable of comp-1 and comp-2?
how do you reference the fixed unblock file formats from cobol programs
explain sorting techniques in cobol program?