Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
FileWatch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
Richard Galley

New User


Joined: 21 Nov 2008
Posts: 31
Location: United Kingdom

PostPosted: Wed Aug 12, 2009 2:02 pm    Post subject: FileWatch
Reply with quote

We run TWS for z/OS + TWS Scheduler on UNIX. The 2 systems are linked via various FTWs. My problem, I am using FileWatch on UNIX to monitor for arrival of M/F file. When this file arrives the M/F submits a script on UNIX. All this works fine as long as the directory name where the file is going to does not overflow onto 2 lines. See examples -

Works ok

Code:
JOBREC                                                             
JOBSCR('/opt/TWS/bin/filewatch.sh -kd f                           
-fl                                                               
/nfs/env/qhpi03/dataload/received/monitor/statuschange/OLRRD.G*.OLR
-int 60 -dl 1800')                                                 
JOBUSR('twsuser')


Does not work because line /nfs overflows onto 2nd line

Code:
JOBREC                                             
JOBSCR('/opt/TWS/bin/filewatch.sh -kd f           
-fl                                               
/nfs/env/pcris03/dataload/received/mfhistoryevents/
cris.prod.test.ftp.*.dat                           
-int 30 -dl 900')                                 
JOBUSR('twsuser')


Any ideas/suggestions please
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Wed Aug 12, 2009 4:38 pm    Post subject:
Reply with quote

I don't know the product, but Unix supports use of a \ as the last character on a line to denote the line is continued.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:


Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us