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
how to access the file from prodution from changeman tool and to submit a file to production
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
how do you reference the fixed unblock file formats from cobol programs
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What are the rules of the move verb?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How do you differentiate between cobol and cobol-ii?
Describe the cobol database components?
Can we change the password using ALTER? anyone tried and changed?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is Pic 9v99 Indicates in COBOL?