how you will define variables length in cobol.
Answer Posted / app
file section.
fd recseqv
recording mode is v
record varying from 3 to 80 characters.
01 recseqv-fd-record pic x
occurs 3 to 80 times
depending on ws-record-length.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
In COBOL, what is the different between index and subscript?
Differentiate between structured cobol programming and object-oriented cobol programming.
How do you reference the fixed block file formats from cobol programs
how do you reference the variable block file formats from cobol programs
What is cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
what happens if parmparameter passes zero bytes to the program
i need a small 3d program using inline and outline.
Which is not true about evaluate statement
What is the difference between PIC 9.99 and 9v99 in COBOL?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
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?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
How to remove 2 duplicate records and copy only one using job control language?