Bobby,
You can look at Dovetail Co:z software, open source download. With it,
you it run on top of ssh for z/OS and allows you to perform sftp to
mainframe data sets. Very easy to script and then authentication keys can
be used for connection. I installed this earlier this year for some
This works as did my original example. My password has a '$' in it. As soon as
I escaped the '$' the code started to work.
Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474
-Original Message-
From: Filipe Miranda
Hi Bobby,
Please try this example:
HOST='example.com' USER='username' PASSWD='password'
ftp -n ${HOST} END_SCRIPT
quote USER ${USER}
quote PASS ${PASSWD}
...
quit
Kind Regards,
Filipe Miranda
On Aug 30, 2013, at 9:59 AM, Bauer, Bobby (NIH/CIT) [E]
baue...@mail.nih.gov wrote:
That's
Bauer, Bobby (NIH/CIT) [E] writes:
That's interesting, it is prompting for the password!?
ftp -inv $HOST EOF
user $USER
PASS $PASS
Many of the user-visible commands to ftp clients are the same as
or similar to the underlying ftp protocol commands that the ftp
client sends over the
On Friday, 08/30/2013 at 02:10 EDT, Emmett O'Grady ogra...@mbusa.com
wrote:
You can enter this criteria into the .netrc in addition to script
variables.
FTP should pull the username and password when it matches the hostname
in your
ftp statement to the hostname in the .netrc file.
Permission
Need to write a bash script (RHEL6) to FTP a file to the MVS side of the
mainframe. Love to use SCP but to my knowledge, it only sends to the OMVS side.
Here is the code with the names changed:
HOST=nih
USER=me
PASS=password
ftp -inv $HOST EOF
user $USER $PASS
put something
bye
EOF
and
Try sending the Password on a separate line with the PASS command
user $USER
pass $PASS
Larry Davis,
VM Capability
-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Bauer,
Bobby (NIH/CIT) [E]
Sent: Friday, August 30, 2013 12:30 PM
To:
Hi list,
Trying to survive I have taken a new challenge being zLinux system support,
the fact is that I'm new to zLinux, and I hope you can help me for the
first task I have, this is monthly collect the use of CPU and memory on
zLinux in a monthly basis,
In system tools I found the following
Great information!.
Thanks guys.
2013/8/30 van Sleeuwen, Berry berry.vansleeu...@atos.net
We collect the data for our guests in the VM monitor. In Linux we start
mon_statd and write various performance numbers into MONDCSS. Through
MONWRITE we collect the data, both linux and VM, and use
We collect the data for our guests in the VM monitor. In Linux we start
mon_statd and write various performance numbers into MONDCSS. Through MONWRITE
we collect the data, both linux and VM, and use it to create reports. If you
are running guests in VM I would advise to collect the data from
You could use sar. It is made to collect data and create reports, I think
you will like it.
For the Hercules question, you can get any Linux distro compiled for s390.
If I remember correctly, both Red Hat and Suse have an evaluation version
that you can use free of charge, and there's Fedora and
http://tinyurl.com/pjyfua4
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
You can enter this criteria into the .netrc in addition to script variables.
FTP should pull the username and password when it matches the hostname in your
ftp statement to the hostname in the .netrc file.
Permission to read that file should be restricted to the owner only.
-Original
On Friday, 08/30/2013 at 01:37 EDT, Malcolm Beattie beatt...@uk.ibm.com
wrote:
So I wonder if there may have been a slash character in your
password? Then the z/OS ftp server interprets a slash as
an implicit logon-and-change-password request which is failing.
I'm mildly surprised it would
That's interesting, it is prompting for the password!?
ftp -inv $HOST EOF
user $USER
PASS $PASS
put something
bye
EOF
220 Connection will close if idle for more than 1440 minutes.
Remote system type is MVS.
(username) 331 Send password please.
Password:
Bobby Bauer
Center for
Here is another version:
# ---
function FTP_FROM_MVS () {
# ---
ftp -n someserver.somedomain.com !EOF
user ${FTPUSER} ${FTPPASS}
pwd
ascii
prompt off
hash
get ${FILETOGRAB} ${FILEISCALLED}
quit
!EOF
}
-Original Message-
From: Linux on 390 Port
ftp -inv $HOST EOF
$USER
$PASS
put something
bye
EOF
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any
17 matches
Mail list logo