I love the SITE command. I need this big time when sending data to our MVS mainframe to specify logical record lengths, blocking factor, etc.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Samantha Scott Sent: Wednesday, July 28, 2010 11:47 AM To: edi list Subject: [EDI-L] Re: GIS question - unix commands from a windows server? The solution - The sysadmin changed my FTP user to be in the group I needed on that host and there is an FTP SITE Service in GIS that allows me to pass a site command as follows <operation name="FTP Client SITE Service"> <participant name="FTPClientSite"/> <output message="FTPClientSiteServiceTypeInputMessage"> <assign to="." from="*"></assign> <assign to="SiteCommand">UMASK 000</assign> <assign to="SessionToken" from="//TOKEN/text()"></assign> <assign to="ResponseTimeout">30</assign> </output> <input message="inmsg"> <assign to="." from="*"></assign> </input> </operation> works like a charm. Two more legacy scripts will be retired. Yay! On Wed, Jul 28, 2010 at 9:36 AM, Samantha Scott <[email protected]>wrote: > I am hoping someone here can help me with this problem. > > I need to replace some functionality in our warehouse system, a unix script > running in cron that picks up files from our warehouse system and delivers > them to a place where the EDI system can get them. This was from back when > my company used AI. GIS can go directly to the warehouse file system using > FTP and get the file. I have no problem there. There are two commands > executed by the script when delivering inbound data though that I do not > know how to emulate with GIS > > chmod 777 /pkms/pkmsdta/inbound1/$DATE754 > chgrp pkms /pkms/pkmsdta/inbound1/$DATE754 > > It changes the permissions and group ownership of the file to the warehouse > system after it delivers it. I haven't the faintest idea how to do this. > Is there a way to do it in a bp? Is this something I can specify in the > FTP as it is being delivered? > > Alternately I know I can execute a shell script in GIS much the way I > execute vb scripts but since our GIS app runs on a windows server I don't > know where that script needs to live. My vb scripts live on the app server > and are executed from a bat file called by the CL2 service. I'm pretty sure > the shell script needs to live and execute on a unix server. > > Any guidance is most welcome > [Non-text portions of this message have been removed] ------------------------------------ ... Please use the following Message Identifiers as your subject prefix: <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC> Job postings are welcome, but for job postings or requests for work: <JOBS> IS REQUIRED in the subject line as a prefix.Yahoo! Groups Links ------------------------------------ ... Please use the following Message Identifiers as your subject prefix: <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC> Job postings are welcome, but for job postings or requests for work: <JOBS> IS REQUIRED in the subject line as a prefix.Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/EDI-L/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/EDI-L/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
