View previous topic :: View next topic
|
Author |
Message |
reachcyrus
New User
Joined: 13 Jul 2007 Posts: 24 Location: chennai
|
|
|
|
IS there any rexx command to read or update a vsam file?
i think the EXECIO command is returning an error message while reading a vsam file.
i need the rexx commands related to vsam updation,delete,write.
Thanks!! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
IS there any rexx command to read or update a vsam file? |
no!!
Quote: |
i think the EXECIO command is returning an error message while reading a vsam file. |
EXECIO does not support vsam files
Quote: |
i need the rexx commands related to vsam updation,delete,write. |
The only way to satisfy Your need is to use a REXX external function package...
If I remember correctly there should be something on this subject in the
CBT mods or in the XEPHON free downloads( articles older than two/three years)
As a quick and dirty alternative You might repro to a PS file,
process the the PS file by creating a new file,
repro back to VSAM... clumsy but it works
regards
e.s |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
The way that I've managed in the past within the REXX EXEC is to REPRO the required record out of the VSAM file into a work dataset, perform the updates required with REXX and then REPRO REPLACE the record back.
Messy, but it does work. |
|
Back to top |
|
|
|