- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Script Issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2009 08:45 PM
02-08-2009 08:45 PM
Script Issue
Can any one pls help me to understand what exactly the mentioned script works,
FTPCOPY=/usr/mfgpro/ftpcopy; export FTPCOPY
UID_PASSWD=XXXXXXX/123456; export UID_PASSWD
OUT=/home/yyyyyy/out; export OUT
echo ${1} > $OUT/debug
$FTPCOPY/ftpcopy $OUT/${1} \
$UID_PASSWD@xxx.xx.x.xx:\'WA.AA.MBOX.SEND.ZSNANE61.${1}\'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2009 08:56 PM
02-08-2009 08:56 PM
Re: Script Issue
whatever that is, with some arguments,
including one ("${1}") from its command line.
From the looks of things, it uses FTP to copy
a user-specified file to or from some IBM
(MVS?) system.
I see no reason for the various "export"
commands.
Were you looking for a psychic to tell you
exactly what "/usr/mfgpro/ftpcopy" does?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2009 09:02 PM
02-08-2009 09:02 PM
Re: Script Issue
$OUT must be a directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2009 10:07 PM
02-08-2009 10:07 PM
Re: Script Issue
This Script is used to ftp a file to remote server. Its normally done automatically by daily morning 6:45 AM, but for past 4 days its not happened.
I can able to do it manually i.e ftp 123.12.1.12 server.
How can i check ftp service status, and i required few logs related to this.
Can someone suggest me for the same...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2009 04:33 AM
02-09-2009 04:33 AM
Re: Script Issue
By cron? If so, look at /var/adm/cron/log.
>I can able to do it manually
By using the script?
What's in /home/yyyyyy/out/?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2009 05:11 AM
02-09-2009 05:11 AM
Re: Script Issue
It seems you have job scheduled in cron to do the ftp transfer from unix to Mainframe server by using the above script.
First thing is you should look into script(probably /usr/mfgpro/ftpcopy/ftpcopy) and find if any log file is defined to captured the script output. Check the log to find what happen when it runs as per the schedule.
If it was running earlier as per schedule and not running now, then you need to check cron. Check cron daemon is running. User should be listed in /var/adm/cron/cron.allow.
cron entry should have altered by someone. Check all these things.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2009 06:30 PM
02-12-2009 06:30 PM