[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



Jay,

Here's a working code example on how to call one sqr from another sqr ...

- Paul Mezzullo
pmezzull@esboces.org




!*----------------------------------
!*---- CAll SYSTEM CODE ------------ 
!* Code to run a secondary SQR from the
!* primary SQR using the CALL SYSTEM command
let $command_str = 't:\apps\hr_sys\sqrbinw\sqrw.exe '
                                || 'c:\user\sqr\hr_main.sqr. '
                                || 'OWNER/SYS@HRDATABASE '       
                                || '-fc:\ '
                                || '-it:\apps\hr_sys\sqr\ '
                                || '-mt:\apps\hr_sys\sqr\allmaxes.max '
                                || '-ZIFt:\apps\hr_sys\sqr\pssqr.ini '

!* perform the actual operating system call

CALL SYSTEM USING $Command_str #return_status NOWAIT








-----Original Message-----
From: Jay Sagadraca [mailto:knight7883@yahoo.ca]
Sent: Wednesday, July 16, 2003 2:59 PM
To: sqr-users@sqrug.org
Subject: [sqr-users] SQR calling another sqr


Hello !!!
   
       Is it possible to call another sqr within an sqr program?  I checked
the commands like call, call system and execute and it didn't say anything.
 
       Please help and Thank You !!!



Jay V. Sagadraca

Markham, Ontario, Canada

email : knight7883@yahoo.ca



---------------------------------
Post your free ad now! Yahoo! Canada Personals

_______________________________________________
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