What is different between variable length and fixed length?
Answers were Sorted based on User's Feedback
Answer / saravanan
variable lenth means record should be in different format
(lenth).but the first 4 bytes only taken as a record lenth.
fixed lenth means we have declaring a record lenth.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / udaya bharathi
fixed length file contains same record length for all
records.but in variable length files length of the record
varies ,it can be useful in such cases we are not sure
about the length of the output file to be generated
| Is This Answer Correct ? | 4 Yes | 0 No |
what is sysncpoint?
How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?
sample code for read a 2nd record from last in flatfile how can do?
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
What is the default value of DISP for temp datasets
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
I have a sequential file of 100 records. How do I load the records into a two dimensional array ?
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
Can JUSTIFIED be used for all the data types?
is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon
How can you add a particular field/coloumn in copybook?
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.