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
how do you reference the printer file formats from cobol programs
What is the usage of comp fields in cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How arrays can be defined in COBOL?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are the different rules to perform a Search?
What is length is cobol?
What is the difference between binary search and sequential search?
What the difference is between continue and next sentence?
Write a cobol program making use of the redefine clause.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How do you reference the fixed block file formats from cobol programs