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


Please Help Members By Posting Answers For Below Questions

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.

2021


What is report-item in COBOL?

719


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

704


What is the difference between external and global variables in COBOL?

823


What is the LINKAGE SECTION used in COBOL?

902






Write the code to count the sum of n natural numbers.

705


What is the usage of comp fields in cobol?

666


Which is not true about evaluate statement

1635


how can i see junk values in dclgen or in hostvariable of comp ?

2555


Can you please let me know the centre name of INS certification in Kolkata.

1727


What are the different data types in cobol?

803


What is rmode(24)

690


Can we change the password using ALTER? anyone tried and changed?

1558


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 ?

1886


For rewrite, why is it mandatory that file needs to be opened?

631