|
Bradley, The following CLP code will do what you want. I have been using this for a number of years. /* Send the Save File to the other system. */ RETRY: SNDNETF FILE(MYSAVF) TOUSRID((ADDRESS SYSTEM)) /* Add the user to the SNADS Directory, if required. */ MONMSG MSGID(CPF9006) EXEC(DO) RTVJOBA USER(&USER) ADDDIREDI USER(&USER) GOTO CMDLBL(RETRY) William K. Reger Senior Project Manager Levitz Furniture Corporation Phone: (561) 994-5114 E-mail: breger@levitz.com <mailto:breger@levitz.com> -----Original Message----- From: Stone, Brad V (TC OASIS) [mailto:bvstone@taylorcorp.com] Sent: Monday, November 01, 1999 2:22 PM To: 'MIDRANGE-L@midrange.com' Subject: Auto enroll users for SNDDST? Hi. Anyone know if there is a way to either auto-enroll users in the system directory so they can use SNDDST, or if there is any other way around this? I've got a trigger program that fires off an email when a record is written to a particular file. Trouble is it could be written using Data Mirror, DDM, or even FTP. So, unless I know all of the user profiles (could be any actually) I don't know who to enroll until after I view the job log to see it errored and didnt send the mail. thanks! Bradley V. Stone BVS/Tools http://www.bvstools.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.