[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
I know of two ways to do this: environment variables and data files.
Richard Knapp
Database Programmer/Analyst
Institutional Research and Planning
University of Missouri System
573-882-8856
knappr@umsystem.edu
-----Original Message-----
From: Mezzullo, Paul [mailto:pmezzull@esboces.org]
Sent: Thursday, March 27, 2003 3: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