Q:what is the difference between the variable length and
fixed lenght.how it varies in the cobol.

Answer Posted / thiyagarajan

if we didnt mention length then it is variable length,if we
declare the size then it is fixed length

Is This Answer Correct ?    20 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2730


Which Search verb is equivalent to PERFORM…VARYING?

685


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

894


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

1547


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

2333






INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

417


how to convert the recors form vsam file to db2 table tru file aid

2763


Explain how you can characterize tables in cobol?

636


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1804


i need a small 3d program using inline and outline.

1637


Differentiate between structured cobol programming and object-oriented cobol programming.

667


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


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

2658


What type of SDLC u followed? Why?

1518


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1902