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
What is the Purpose of POINTER Phrase in STRING command in COBOL?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
How do you reference the fixed block file formats from cobol programs
how can i see junk values in dclgen or in hostvariable of comp ?
Mention the guidelines to write a structured cobol program?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is length is cobol?
Name the sections present in data division.
Define static linking and dynamic linking.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are 77 levels used for?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How many sections are there in data division in COBOL?
Whats the difference between search & search ALL?