|
Denis, You could try creating a small script file in the IFS with just those two lines of code in it. All you require is standard text STMF. You could probably create this using WRKLNK. Ensure you have execute authority to the file (eg. a data authority of *RWX, *RX, or *X). You can option 9 on the WRKLNK display to set this up. IBM could do with making things a bit more user freindly in WRKLNK!! You can then treat your file like a command, either typing it in on the QSHELL command line, or executing it via STRQSH. If you placed the file in your home directory the STRQSH would look something like: STRQSH CMD('/home/YourHomeDir/FileName') Hope this helps Syd Nicholson Denis Robitaille wrote: > Hello all, > > In my startup program that run after each IPL, I need to run the > following 2 QSHELL commands: > > cd /QIBM/ProdData/WebASAdv/bin > strwasinst -instance CASCSTAG > > I know that there is a CMD parameter with the STRQSH command but it > accept just one command. And I checked, when I issue a second STRQSH, it > as forgotten the first one (the directory is reset). > > Any suggestions? >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.