Search Results

Search: Posts Made By: swoldering
3,164
Posted By swoldering
Hi everyone, while searching for our problem I...
Hi everyone,
while searching for our problem I found this thread, but we are still struggling. Help would be lovely.

We have:

#!/bin/sh

while read blabla
do
. childscript

rc=$?
...
14,990
Posted By swoldering
Oh yes, I see. Thanks. I've learned a lot...
Oh yes, I see.
Thanks.
I've learned a lot today.
Thanks.

Sandra
14,990
Posted By swoldering
Selecting record format and record length for...
Selecting record format and record length for CMS.
By default, all files transferred using FTP will have variable record format. If you are transferring a file to CMS which must/ought to be in a...
14,990
Posted By swoldering
We know now! An old colleague helped us. Ftp...
We know now! An old colleague helped us.
Ftp from unix to a mainframe does not work properly. It cuts of at 256 digits.

We need a fixed recordlenght.
We will have to use
quote site fixrecfm...
14,990
Posted By swoldering
Thank you shell life, we will learn a lot from...
Thank you shell life,
we will learn a lot from this.

When I do understand your piece of scripting right, then it does the while-loop 500 times for each record. We come from the mainframe and we...
14,990
Posted By swoldering
Hi, the ftp does work without the site...
Hi,

the ftp does work without the site commands. But we are ftp-ing to a mainframe and we need a fixed recordlenght of 500.

Thanks.

Sandra
14,990
Posted By swoldering
Hello Shell life, I'm sorry for this...
Hello Shell life,

I'm sorry for this mistake.

I'm a mainframe (adabas natural) expert and a Unix dummie. We will migrate from mainframe to unix and someone else wrote this script, but I...
14,990
Posted By swoldering
Site command used in ftp script
Hi everyone,

can someone please tell me what can be wrong here?

Script:
ftp -v -n $FTPSERVER<< EOP >$LOGFILE 2>&1
user $USERID $PASSWD
ascii
site lrecl=500
site cyl
site PRI=600
site...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy