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

[sqr-users] Please help me.I need to submit to production-callsystem



Hi ,
This is Brahm.I am working on sqr.It is working in command prompt and sqrw.
It is posted result in 
\\PEOPLESVR2\HR8801\USER\REPORTS\COMMON\ACFTRM_RESULT.TXT'.
But when i am running on online(Process Scheduler).It is showing the Runstatus 
is 'success' and Distribution Status is 'posted' and It showing the #STATUS1 =0.
Butit does not posted result in \\PEOPLESVR2\HR8801 
\USER\REPORTS\COMMON\ACFTRM_RESULT.TXT'.
I wrote below code.I am using sql server database.Here OSQL is query 
analyzer.Please help me any one.
  
  LET $COMSPEC=GETENV('COMSPEC')    
             
  LET $COMMAND1 = $COMSPEC || ' /C  OSQL -U sa -P sa  -D CP3 -i 
\\PEOPLESVR2\HR8801\SQR\ACFTRM.SQL -o 
\\PEOPLESVR2\HR8801\USER\REPORTS\COMMON\ACFTRM_RESULT.TXT'
  CALL SYSTEM USING $COMMAND1 #STATUS1 
  SHOW 'THIS IS STATUS OF COMMAN ONE: ' #STATUS1
   
  
 Thanks
 Regards
 Brahm


                
---------------------------------
 Start your day with Yahoo! - make it your home page 

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