View previous topic :: View next topic
|
Author |
Message |
Richard Galley
New User
Joined: 21 Nov 2008 Posts: 31 Location: United Kingdom
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|