can we declare s9(9)v9(9) in cobol ? if yes how many bytes
it will occupy ?(urgent plz answer it)

Answer Posted / vikash

we can declare.It will take total bytes based on formula=(n/2+1).

Thus, 9+9=18

Here n=18,

Thus number of bytes=18/2+1=10 bytes

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want a program using by if, evaluate , string, unstring, perform, occurs?

4185


IF I mention stop run in CICS what happens?

1983


how to refer the data field?

1902


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

804


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.

2112






how to access the file from prodution from changeman tool and to submit a file to production

6881


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2833


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1780


What is amode(31)

807


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

1081


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

802


What is the problem of ordered sequential files access?

809


What is amode(24)?

763


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

943


explain sorting techniques in cobol program?

784