How to create a temporary VSAM file?How to delete a record in a VSAM file using JCL?

Showing Answers 1 - 3 of 3 Answers

vjjammi

  • Feb 18th, 2009
 

A Temporary VSAM File can be created using the utility IDCAMS.
 
If you want the job to create this file, kindly let me know so that I'll provide you the code too.

In order to delete a record from a VSAM File through a JCL, initially sort the VSAM file and exclude the record which needs to be deleted using the OMIT COND.

Later, using the output file after excluding the specified record, REPRO the entire file into the VSAM.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions