Answer Posted / swamy
Comp-3 fields occupy (n+1)/2 spaces , 1 being the sign
eg: Pic S9(7) COMP-3. Byte size = (7+1)/2 = 4
Pic S9(5)V99 COMP-3. Byte size = (5+2+1)/2 = 4
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
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 rules are followed by the search verb.
What kind of error is trapped by on size error option?
What is length is cobol?
) what is the difference between AID and HANDLE AID?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Difference between cobol and cobol-ii?
How do you get the data to code the BMS macro?
What is the usage of comp fields in cobol?
how to access the file from prodution from changeman tool and to submit a file to production
What are the rules of the move verb?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Which is not true about evaluate statement
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.