how to see the last records in vsam dataset??
Answer / dave
Depends.
If you're talking CICS, set the key of the VSAM file to
high-values, do a STARTBR to position the pointer, and
execute a READPREV to get the last record.
In batch, set the key to high-values, and execute a READ
Key < Key.
Is This Answer Correct ? | 9 Yes | 5 No |
Hi, I want to create alternate index on VSAM file.my file structure is ex: RoomID pic x(7) R000001 Floor pic a((6) First RoomNo pic x(2) FA1 Occupied(yes/no) pic a(3) Yes Occupied Batch pic x(10). Maths i want to create alternate index on floor,roomno fields.can i create alternate index on both the fields.and tell me how to create.
Under idcams, multiple functions can be executed, each of which returns a condition code. What will be the condition code returned to the operating system?
Suppose 3 generations of a GDG exist. How would you reference the 1st generation in the JCL?
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
How many times secondary space allocated?
What is the meaning of the DEFINE MODEL parameter?
What is the catalog?
Describe SHAREOPTIONS parameter (SHR) in Define Cluster command.?
How to declare the EMP Name, EMP No., DOB in VSAM KSDS file? Please explain.....
Discuss record management in vsam?
Under IDCAMS , multiple functions can be executed, each of which returns a cond code. What will be the condition code returned to the operating system ?