Q:what is the difference between the variable length and
fixed lenght.how it varies in the cobol.
Answer Posted / ragini roy
Fixed length strings, storage space required is length of string and range of values is 1to 65400 , characters, whereas the variable string length, storage space required is length +10 bytes and range of values is 0 to billion characters
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
HOw can I get the negative sign while deduct high value from low value
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.
Explain about different table spaces.
How many sections are there in data division in COBOL?
How do get the result of your program directly on your pc?
What are the cobol coding sheets?
What is report-item in COBOL?
What are the pertinent COBOL commands?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What type of SDLC u followed? Why?
What is difference between static and dynamic call in cobol?
What is the problem of ordered sequential files access?
Which division and paragraphs are mandatory for a COBOL program?