IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FileWatch


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Aug 12, 2009 4:38 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Search our Forums:

Back to Top