01 a pic s9(5) occupies how many bytes ?

Answer Posted / kishore sangu

S9(5) occupies 3 bytes of memory.

Because This Goes To Comp3 (5+1)/2=3

Comp1 And Comp2 Don't have the PIC (Picture) Clause.

Is This Answer Correct ?    0 Yes 23 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.

2014


how do you reference the variable block file formats from cobol programs

688


What is the problem of ordered sequential files access?

704


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2337


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2661






What is the difference between comp and comp-3?

704


What rules are to be followed while using the corresponding options?

641


What is the difference between goback, stop run and exit program in cobol?

932


How do we get current date from system with century in COBOL?

807


what happens if parmparameter passes zero bytes to the program

1667


) How do u handle errors in BMS macro?

1429


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065


What is difference between static and dynamic call in cobol?

779


What is the difference between Call and a Link?

702


Which Search verb is equivalent to PERFORM…VARYING?

688