[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] SQR calling another SQR - CALL SYSTEM
You might want to have the called SQR have an input statement and then
pass that argument as part of the command line that you build for the
$command_string....(either directly or use the @parmfile)
Paul Hoyte
Sharidionne Inc.
(248) 559-6868
(248) 559-6875 - Fax
(248) 752-6970 - Cell
Email: phoyte@sharidionne.com
-----Original Message-----
From: sqr-users-admin@sqrug.org [mailto:sqr-users-admin@sqrug.org] On
Behalf Of Mezzullo, Paul
Sent: Thursday, March 27, 2003 4:02 PM
To: SQR RUG (E-mail)
Subject: [sqr-users] SQR calling another SQR - CALL SYSTEM
Hi,
I'm calling an SQR from within another SQR using the code shown below,
everything works fine, except I need to pass variables ( i.e. $NAME)
along
with the call to the secondary SQR using the CALL SYSTEM command, does
anyone know how this might be achieved?
let $command_str = 'i:\apps\fs75\sqrbinw\sqrw.exe '
|| 'c:\user\sqr\POPO006.sqr '
|| 'ADMIN_TEST/ADMIN_TEST@FIN_DATABASE '
|| '-ii:\apps\fs75\sqr\ '
|| '-fc:\ '
|| '-mi:\apps\fs75\sqr\allmaxes.max '
|| '-ZIFi:\apps\fs75\sqr\pssqr.ini '
!* perform the actual operating sytem call
CALL SYSTEM USING $Command_str #return_status NOWAIT
- Thanks
Paul
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users