![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| why the below script is not working ., | konankir | Shell Programming and Scripting | 14 | 03-27-2008 04:32 PM |
| script to send command periodically to remote server | sayeo | Shell Programming and Scripting | 2 | 03-17-2008 03:42 AM |
| How to periodically execute a function in C ?? | RipClaw | High Level Programming | 24 | 12-27-2007 12:19 AM |
| Pls. Help my script not working as it should | cocoabeauty1 | Shell Programming and Scripting | 1 | 07-28-2007 06:11 PM |
| Periodically terminals stop responding | vpanag | SCO | 2 | 11-15-2006 03:08 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
script working periodically
We have a strange problem that started happening a few months ago. We have a unix script being called from within a microfocus cobol program using the call "SYSTEM" cobol command. The problem is sometimes the script will run, sometimes it wont - without us changing anything! The other strange thing is that we have multiple other cobol programs calling the same script but with a different passed parameter and those ALWAYS work!
The one that randomly fails is : CALL "SYSTEM" using "$LAWDIR/interface/law_intf/lawson_xfer apcheck". one of the ones that ALWAYS work is CALL "SYSTEM" using "$LAWDIR/interface/law_intf/lawson_xfer achremit". The script being called is lawson_xfer and the parameter is the interface name. When it errors on us, it gives us the error: sh: 0403-057 Syntax error at line 1 : `(' is not expected. $LAWDIR/interface/law_intf/lawson_xfer apcheck Again, sometimes (but rarely) it will run fine without the error and we dont change a thing. Any ideas on why this would happen, especially where it will work every once in a while? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|