> -----Original Message----- > From: Dave Salt [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 19, 2007 3:42 PM > To: [email protected] > Subject: InSync VSAM file editor by Macro 4 > > Does anyone on this list use the InSync VSAM file editor? If so, are you > able to call it and pass it a VSAM file name and what you'd like to do to > it? For example, if you wanted to edit a VSAM file would you be able to do > something similar to this: > > /* REXX */ > address ispexec "SELECT CMD(INSYNC EDIT 'MY.VSAM.FILE')" > > Note that the above is pure fiction on my part as I don't know what > procedure would be called (e.g. INSYNC) or what parameters it would accept > or what format they'd need to be in (etc). So, if anyone can provide the > actual calling syntax I'd really appreciate it.
I use INSYNC extensively in both ISPF and in batch, and occasionally for VSAM edits in ISPF, but I never tried invoking it dynamically from REXX (no reason to). The Fine Manual for Batch Users documents a CHANGE keyword, which is what would correspond to the "edit" function online. My advice would be to use the ISPF screens under "Batch Functions" to set up a simple "change" JCL for your file. Then you can see what DD's need to be allocated and the PGM= and PARM= values you need. Then you could use "address MVS" or its brethren to invoke the program after ALLOCing the needed DD statements. That's what I would do, anyway. There is no documentation of a supported "API" interface that I saw in the docs that I have (v5.41), but I'll admit to only a skimming of the TOC's behind that statement. HTH Peter This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

