can we read in input the file with a variable length ?
please , how ..could you help me ?
Answer Posted / anjiii
yes we can read input file with variable length.
while declaring a file in a file section, have two file
records declared at zero level... ex.
FD
01 Var-data-1 pic x().
05
05
.
.
01 Var-data-2 pic x().
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the configuration section of a cobol program with examples of syntax.
How arrays can be defined in COBOL?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Which is not true about evaluate statement
How do get the result of your program directly on your pc?
How you can characterize tables in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is comp-1 and comp-2?
What kind of error is trapped by on size error option?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What do you understand by psb and acb?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?