Thanks. And MissTipps, I was thinking of subrmtcmd (Submit Remote Command) from the AS/400. This runs a batch file on my win2000 system that has in it:
C:\PROGRA~1\MICROS~3\80\TOOLS\BINN\DTSRun /S "ARETT2" /U "myuser" /P "mypassword" /N "ExportOHSELOG" /G "{6798D053-EF19-407B-861A-2BDAB03B8622}" /W "0"
DTSRUN Barfed when I used spaces in the path, i.e. 'Program Files'
That runs the job fine. But then, I wanted to make a few jobs and then be able to include them in a kind of a master job that my AS/400 will call.
When I right-click on a SQL file transfer DTS job in and choose schedule it makes a "job" in my jobs under SQL Server Agent.
How do I then add to this job the other steps, and then run this job under my batch file.
Or am I in the wrong spot. I don't want to schedule my SQL job, I want to save it and call it from my AS/400.
Sorry, I have been away from SQL since 6.x. 2000 is real new, and has tons of cool stuff.
And the online help is not real good at teaching.