how we can edit records in vsam data set and non vsam data
sets
Answers were Sorted based on User's Feedback
Answer / vikas pujar
VSAM - You cannot edit data directly in case of Vsam
datasets,it can be done either be thru programs or thru
File Aid option 2.
Non Vsam - You can edit data directly by opening dataset in
edit mode from 3.4.
| Is This Answer Correct ? | 14 Yes | 1 No |
Answer / vidhya
u can open the VASM dataset in File aid and edit.
| Is This Answer Correct ? | 6 Yes | 2 No |
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
How can you submit a job from COBOL programs?
what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99
Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?
What is the difference between perform … with test after and perform … with test before?
What are some examples of command terminators?
Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?
If I want to increase the Limit in GDG. What should I do?
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
How many variables can be declared in w-s section.?
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.