Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / i go crazy
Hi Suv,
If u code S9(14) COMP, it will take double word i.e. 8
bytes. Below is the size of comp variables.
S9(01) - S9(04) : 2 BYTES.
S9(05) - S9(09) : 4 BYTES.
S9(10) - S9(18) : 8 BYTES.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
how to convert the recors form vsam file to db2 table tru file aid
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How do you differentiate between cobol and cobol-ii?
What is a report item?
What is a SSRANGE and NOSSRANGE?
What are the different types of condition in cobol and write their forms.
What is the difference between binary search and sequential search?
What the difference is between continue and next sentence?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Differentiate between structured cobol programming and object-oriented cobol programming.
Are you comfortable in cobol or jcl?