how many bytes does a s9(12)COMP-4 field occupy??
a.2
b.4
c.8
d.1
ans with reason please
Answers were Sorted based on User's Feedback
Answer / raja
Its occupies 8 bytes, because comp-4 is equalent to comp.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / sharpmainframe
IT WILL BE 6 BECAUSE COMOP-4 OCCUPIED HALFBYTE.
| Is This Answer Correct ? | 1 Yes | 4 No |
What is link edit in cobol?
How many divisions we have in Cobol ?
where do we use dyanamic call ? and where do we use static call pls give any example pls ?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
How to display string in the reverse order using occurs clause?
Explain how you can characterize tables in cobol?
What is EIBCALEN? Why it is used?
what is ASRA, AEY9?
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
What is COMP SYNC?
how to know that the file has 300 records how to acess it?