what is the difference between Normal vaiable and comp
variable.
Answer Posted / suman agrawal
Using comp, the value will be stored in binary format.
The allocation in number of bytes is based on the number of
digit the variable use:
No. of digits Bytes
1-4 2 bytes
5-9 4 bytes
10-18 8 bytes
| Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
What is the problem of ordered sequential files access?
Can you please let me know the centre name of INS certification in Kolkata.
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 ?
how do you reference the variable unblock file formats from cobol programs
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
State the various causes of s0c1, s0c5 and s0c7.
What are the different types of condition in cobol and write their forms.
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.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the use of intialize verb?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What are the pertinent COBOL commands?
What is rmode(any) ?
How to print 10 to 1 if the input have only 10 digit number?
What are declaratives and what are their uses in cobol?