You can certainly run curl under BPXBATCH, but you would likely need to put your curl command in an HFS/zFS script. Also, I'm not certain if IBM's curl port allows for dataset file names or not. Even if so, BPXBATCH tends to run the shell in a separate address space, which can have surprising consequences.
Kirk Wolf Dovetailed Technologies http://dovetail.com PS> You can use our free Co:Z toolkit, which includes a replacement for BPXBATCH which also lets you do things like this: // EXEC DTLSPAWN //STDIN DD * curl http://url | todsn //DD:DATA //DATA DD DSN=&&TEMP,DISP=(NEW,PASS), // DCB=(...),SPACE=(..) ... Also, you might consider launching curl off-platform running in a DMZ linux server, where you can combine it easily with other FLOSS tools like gpg, gzip, xalan. We wrote an article for zJournal recently which describes this: http://zjournal.com/index.cfm?section=article&aid=1075 On Wed, Nov 26, 2008 at 8:32 AM, Mark Jacobs <[EMAIL PROTECTED]>wrote: > We have successfully used the ported tools version of curl to download > files from the internet (http/https). We just wrote some shell scripts that > get executed by bpxbatch jobs submitted by our production scheduler. > > I don't have any examples to post, but the man page is very detailed. > > Mark Jacobs > > > -----Original Message----- > From: IBM Mainframe Discussion List on behalf of Robert Bell > Sent: Wed 11/26/2008 9:24 AM > To: [email protected] > Subject: curl from ported tools > > Hi there > > We are looking to automate a process of file download from a web site. > Has anyone had any experience using curl ? > > From what I have read in the manuals, curl is a command line interface, and > from uss, I can access it. > > Anybody know if it can be run using 'bpxbatch' ? > > Any thoughts/comments (jcl maybe ? ) etc would be most appreciated. > > Regards > Robbie > > ---------------------------------------------------------------------- > 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 > > > ---------------------------------------------------------------------- > 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 > ---------------------------------------------------------------------- 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

