Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / suv
If your question is like this:::
Suppose i want to declare a binary COMP field of storage 7
bytes .how
to write?
Answer is:
PIC S9(14) COMP.
storage byte required by COMP field will = half of the
digit specified in the PIC clause.
Just an info....
storage byte required by COMP3 field will = ( half of the
digit specified in the PIC clause)+1
Please correct me if I am wrong.
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
IF I mention stop run in CICS what happens?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Difference between array and sub-script ?
What is a SSRANGE and NOSSRANGE?
What are the pertinent COBOL
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are the access modes of START statement?
What is redefines clause in COBOL?
what is the difference between COBOL2 AND COBOL390?
What are the various section in data division and briefly explain them.
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.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how do you reference the rrds file formats from cobol programs
What is inspect in cobol ?
A table has two indexes defined. Which one will be used by the SEARCH?