Folks
Yet again im clueless on this one ; is there a way in which i can execute multiple TCL commnds and an unix command , all using the before-job subroutine feature? Or do i need to create multiple dummy jobs? I know that you can execute multiple unix commnds by delimiting commands with a semicolon';', but how about 2 TCL commands and one unix command , all to be executed before a job runs? Any 'elegant ways of doing so' suggestions?
Thanks
Ramesh
Execute Multiple Before Job Commands
Moderators: chulett, rschirm, roy
It's been awhile but I know it has been discussed here. You'd need to create something called a 'paragraph' from what I recall, something that links together multiple TCL commands. You would then 'run' the paragraph.
A search with the proper keywords should turn something up.
A search with the proper keywords should turn something up.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You can create the paragraph (a series of TCL commands) in the Administrator client's command window. One of these can execute the UNIX command:
Once all the TCL commands are contiguous in the command window, multi-select them and save under a name not used for anything else.
That is the name of the paragraph, which can be invoked through the ExecTCL before/after subroutine.
Code: Select all
SH -c "<<UNIX command>>"
That is the name of the paragraph, which can be invoked through the ExecTCL before/after subroutine.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.