View previous topic :: View next topic |
Author |
Message |
tattva Beginner
Joined: 02 Feb 2005 Posts: 97 Topics: 36
|
Posted: Thu Apr 28, 2005 1:17 pm Post subject: Rexx tool for extracting records from VSAM file |
|
|
Hi all,
can any one help me out write a REXX utility which will extract the records ( based on some criteria) from a VSAM file.
Input to the rexx should be :- 1)criteria.
2) VSAM file name.
3) output dataset name
Note;- am new to REXX
Thanks,
Guru |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Apr 28, 2005 1:25 pm Post subject: |
|
|
What would be the point? All of this can easily be done in a single IDCAMS REPRO command. |
|
Back to top |
|
|
tattva Beginner
Joined: 02 Feb 2005 Posts: 97 Topics: 36
|
Posted: Thu Apr 28, 2005 1:27 pm Post subject: |
|
|
Superk,
I'm sorry !! .. But didnt know that approach..
can u post me the jcl please!!
Thanks,
Guru |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Apr 28, 2005 2:00 pm Post subject: |
|
|
My concept of "filtering" records from a VSAM file is to retrieve them by the index key. For anything else, a SORT "INCLUDE COND" would be a better solution. |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Tue May 03, 2005 3:27 pm Post subject: |
|
|
For my understanding, and to help me provide better responses in the future, maybe the original poster could define what was meant by
Quote: |
... extract the records ( based on some criteria) from a VSAM file
|
I'd like to know if my concept of the post was off-base or not. |
|
Back to top |
|
|
|
|