Page 1 of 1

copy data from vsam to ps

Posted: Mon Apr 22, 2024 9:15 pm
by utkarsh
Hi,

Apart from using repro, is it possible to copy data from vsam to ps in any other way?

Re: copy data from vsam to ps

Posted: Tue Apr 23, 2024 8:19 pm
by Robert Sample
Why on earth would you want to do this?  IDCAMS is easy to use and efficient.  You could write a program to do the copy, but you'd have to write a program for every single copy you want to do -- use IDCAMS.

Re: copy data from vsam to ps

Posted: Wed Apr 24, 2024 5:54 am
by zum13
Hello.

There are other utilities available that are designed for the handling of VSAM files which are attached to larger products intended to make the files more usable and accessible from ISPF. Compuware's FileAid is a good example of this. While better known for the ISPF interface, it does come with a batch utility that can do some pretty useful stuff other than just unloading a VSAM file.

The other obvious candidate would be DFSORT which allows you to have a VSAM file as input.

Re: copy data from vsam to ps

Posted: Wed May 08, 2024 7:07 pm
by utkarsh
Robert Sample" wrote: Tue Apr 23, 2024 8:19 pm Why on earth would you want to do this?  IDCAMS is easy to use and efficient.  You could write a program to do the copy, but you'd have to write a program for every single copy you want to do -- use IDCAMS.
I also had the same question, but in an interview anything can be asked.

Re: copy data from vsam to ps

Posted: Wed May 08, 2024 7:07 pm
by utkarsh
zum13Hello.

There are other utilities available that are designed for the handling of VSAM files which are attached to larger products intended to make the files more usable and accessible from ISPF. Compuware's FileAid is a good example of this. While better known for the ISPF interface, it does come with a batch utility that can do some pretty useful stuff other than just unloading a VSAM file.

The other obvious candidate would be DFSORT which allows you to have a VSAM file as input.
Thanks zum13, I'll look for example of SORT to work with VSAM.