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 |
I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division
Explain the configuration section of a cobol program with examples of syntax.
How we copy a program from production region to development region.What is the process & syntax ?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
how do you reference the fixed unblock file formats from cobol programs
how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please
What is CALL statement in COBOL?
What are some examples of command terminators?
When is a scope terminator mandatory?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.
What is the mode in which you will OPEN a file for writing?