[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[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