How would the number +1234 be stored if a PIC clause of
PICTUREs9(4) comp-3 were used?
Answer Posted / veni
A mistake in answer 2.
It will be stored as follows:
12 34 C
2nd half of the 3rd byte will be left blank.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
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.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the difference between goback, stop run and exit program in cobol?
What are various search techniques in cobol? Explain.
Can we change the password using ALTER? anyone tried and changed?
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.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is the difference between next sentence and continue in cobol programing language?
What are the different data types in cobol?
Difference between cobol and cobol-ii?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
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 ?
For rewrite, why is it mandatory that file needs to be opened?