John,

I am a big fan of elegant. I know how to perform the IDCAMS functions via rexx, 
no problem.
I am toying with a called C solution, which is our stated direction. I like the 
Unix solution I will take a look at File864 on cbttapes.org.  There is a lot of 
good code by good people on those cbttapes and xephon pubs. 

Much thanks , John 

Regards ,

Scott ford
www.identityforge.com

On Jun 20, 2012, at 10:58 AM, "McKown, John" <[email protected]> 
wrote:

> IGGCSI00 is only for doing the equivalent of a LISTCAT type function. You 
> could call IDCAMS itself, with I/O exits to feed it the required commands as 
> if they had come from SYSIN. Or you might want to set up a TSO environment 
> and invoke the TSO commands.
> 
> If you want to do the former (call IDCAMS using I/O exits), you can download 
> file 864 from http://cbttape.org/updates.htm . It is some UNIX commands, one 
> of which is called "ams" which uses IDCAMS with I/O exits to implement a z/OS 
> UNIX command which prompts the shell user for IDCAMS commands and returns the 
> result. The package is in standard CBT format (zip of an XMIT of a PDS). But 
> the source is in a member in the PDS which is the output from a "pax" 
> command. Which means that the reload job, included in the package, restores 
> to a z/OS UNIX subdirectory. You can then use ISPF option 1 or 2 to list this 
> subdirectory and then edit/view/browse the source code (in file ams.s) for an 
> example.
> 
> Another possibility (not sure) is to set up a TSO environment in your code 
> using IKJTSOEV and then invoking a REXX program to issue the TSO commands. I 
> don't know if this will work. And, IMO, it is "inelegant".
> 
> -- 
> John McKown 
> Systems Engineer IV
> IT
> 
> Administrative Services Group
> 
> HealthMarkets(r)
> 
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone * 
> [email protected] * www.HealthMarkets.com
> 
> Confidentiality Notice: This e-mail message may contain confidential or 
> proprietary information. If you are not the intended recipient, please 
> contact the sender by reply e-mail and destroy all copies of the original 
> message. HealthMarkets(r) is the brand name for products underwritten and 
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake 
> Life Insurance Company(r), Mid-West National Life Insurance Company of 
> TennesseeSM and The MEGA Life and Health Insurance Company.SM
> 
>> -----Original Message-----
>> From: IBM Mainframe Discussion List 
>> [mailto:[email protected]] On Behalf Of Scott Ford
>> Sent: Wednesday, June 20, 2012 9:47 AM
>> To: [email protected]
>> Subject: Calling idcams
>> 
>> All,
>> 
>> I am in the process of wanting to call idcams, principally, a 
>> define and delete alias function in Assembler. I have looked 
>> at IGGCSI00 and various examples, it doesn't appear I can use 
>> IGGCSI00 for this purpose. Can someone point the correct direction ?
>> 
>> 
>> Regards,
>> 
>> Scott ford
>> www.identityforge.com
>> 
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to [email protected] with the message: INFO IBM-MAIN
>> 
>> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to