how many bytes does s9(7)COMP-3 field occupies?
Answer Posted / kavya
int(n/2)+1 here n=7 ,so 4 bytes will take
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
What is report-item in COBOL?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the difference between external and global variables in COBOL?
What is the LINKAGE SECTION used in COBOL?
Write the code to count the sum of n natural numbers.
What is the usage of comp fields in cobol?
Which is not true about evaluate statement
how can i see junk values in dclgen or in hostvariable of comp ?
Can you please let me know the centre name of INS certification in Kolkata.
What are the different data types in cobol?
What is rmode(24)
Can we change the password using ALTER? anyone tried and changed?
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?