I have a sequential file. How do I access a record in this
sequential file randomly in my program ?
Answer Posted / lu
Hi Guys,
when you say "sequential" it means you have to read from 1
to 9999...Never say sequential file and read randomly !!!!!
use read util the field you want....
Perform 100-read until ws-field = 'yes'.......
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
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?
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.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Name the divisions, which are available in a cobol program?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the compute verb? How is it used?
what are decleratives in cobol?
Can we change the password using ALTER? anyone tried and changed?
Explain how you can characterize tables in cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What are the pertinent COBOL
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is length is cobol?
how to access the file from prodution from changeman tool and to submit a file to production