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


Please Help Members By Posting Answers For Below Questions

Write the code implementing the perform … varying.

644


What is comp-1 and comp-2?

764


What are the different rules for performing sort operation?

761


Why did you choose to work with ibm mainframe cobol programming?

631


What are the cobol coding sheets?

664






What are all the divisions of a COBOL program?

663


What are 77 levels used for?

659


What is the difference between perform … with test after and perform … with test before?

881


Which division and paragraphs are mandatory for a COBOL program?

709


How do you reference the following file formats from cobol programs?

693


How many bytes S(8) comp field occupy and its maximum value?

1630


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

644


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?

700


Describe the cobol database components?

680


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

672