1)what is use of linkage section?
2)what is difference between comp and comp-3
Answer / samay simant
answer 1) Linkage section is used to accept data from outside the program.either its parm part of Jcl or Call from any other programs,they pass data into called program thru linkage section only.
2)Comp is binary.its the type how system stores ur data.
pic s9(1)-->pics9(4) --occupies 2bytes
pic s9(5)---pic s9(8) ----4 bytes
pic s9(9)---pics9(18)-----8 bytes
comp-3 is for packed decimal data where each character occupies half byte and sign is stored in last nibble.
If wrong,plz correct me anyone
Is This Answer Correct ? | 13 Yes | 1 No |
DATAONLY, MAPONLY functionality?
If we use GO BACK instead of STOP RUN in cobol?
How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.
wht is packed decimal in cobol
what is the coding difference between COBOL and CICS.
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
What is Comm?
2 Answers IBM, Kemper Corporation,
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
What is Control Break processing ?
created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?
What are literals?
Why occurs cannot be used in 01 level in COBOL?