[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

[sqr-users] SQR - CALL SYSTEM error codes for Windows OS



Hi

 

I am required to invoke a 3rd party software from command line from
within SQR. I was observing CALL SYSTEM command of SQR, and am stuck up
at a place.

 

CALL SYSTEM USING    command status [ WAIT | NOWAIT ]

call system using dir > test1.txt' #NUM ! WAIT

show #NUM

 

I am on Windows OS and Peoplebooks say that the returned STATUS should
be a numeric field. If it is below 32, it implies an error. It is
continuously returning 2.00000 for all DOS commands. I am unable to
understand the implications of the error. If any of you can share a list
of such error codes specific to Windows OS, I will appreciate.

 

If any of you have encountered a similar requirement and could resolve
it, please mail me. 

 

Thanks

Anand Gupta
Enterprise Solutions 
Infosys Technologies, Pune
O: 91 20 22932800
D: 91 20 22978148
W:  <http://www.infosys.com> www.infosys.com  

 

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users