[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 did something like below last year:
let $sqr_com = 'sqr igaudproc.sqr ' || $sysuser || '/' || $syspass
Call System Using $sqr_com #Status
----- Original Message -----
From: "Mezzullo, Paul" <pmezzull@esboces.org>
To: "SQR RUG (E-mail)" <sqr-users@sqrug.org>
Sent: Thursday, March 27, 2003 1:01 PM
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