01-04-2018
I have implemented this., now I want to verify the file
1. To check if file is transferred
2. The file is not corrupt
I have achieved (1) using nlist over FTP., later after closing FTP connection I would grep the nlist target file and get to know if the file is transferred to mainframe.
I am having challenge to ensure we have same bytes transferred to MVS.
I can generate cksum in AIX Unix before/after transferring the file to get checksum and byte size of the file.
may I know how do i get that over FTP for the file transferred to mainframe.
so I can verify both the checksum and bytes.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
when i am trying to ftp to a newly cretaed mainframe GDG for the first time,i am getting the following error...
Verbose mode on.
200 Representation type is Ebcdic NonPrint
200 Port request OK.
550-SVC99 Return code=4 S99INFO=0 S99ERROR=38668 HEX=970C S99ERSN code X'00004379').
550... (1 Reply)
Discussion started by: sam99
1 Replies
2. HP-UX
hi
suppose i have a file named xyz(-1) and i have to transfer(ftp) it on a Mainframe from unix,how should i do it as whenever i try to do so it says use MVS naming conventions (1 Reply)
Discussion started by: ashishabhishek
1 Replies
3. UNIX and Linux Applications
suppose i have a file named xyz(-1) and i have to transfer(ftp) it on a Mainframe from unix,how should i do it as whenever i try to do so it says use MVS naming conventions (1 Reply)
Discussion started by: ashishabhishek
1 Replies
4. UNIX for Advanced & Expert Users
thanks (2 Replies)
Discussion started by: ashishabhishek
2 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I am new to this site, I have a requirement where in i have to FTP a file from mainframe to Unix box.
The catch here is there are few Spanish characters like N with tilde(~) and a with ` etc., all other characters are coming fine but those mentioned above are not coming in a proper... (1 Reply)
Discussion started by: harikiranr
1 Replies
6. Shell Programming and Scripting
Hi Experts...
Greetings for the day..!
I just want to FTP the files to mainframe system..
my code is not working..and also i need to put the files in a particular directory in a specific naming format...
ftp -i -n ${HOST_NAME} << END_FTP
user ${USER_NAME} ${PASSWORD}
put ${FILE_NAME}... (3 Replies)
Discussion started by: spkandy
3 Replies
7. AIX
Hi,
I'm not sure if this has been solved in this forum already but please do help me out if possible. Basically, I've already setup a passwordless SSH connection between 2 AIX IDs (say ID-1 and ID-2) with a Mainframe server ID (say MVSID). I'm able to successfully do an SSH from the AIX server to... (1 Reply)
Discussion started by: sambeet
1 Replies
8. UNIX for Advanced & Expert Users
Hi All,
The issue is that, we have a dataset in mianframe whose record length is 153 characters. And a batch job ftpies it to the unix server(SunOS) as a test file. But the ftpied file in unix does not have a record length of 153 chars. Each record of 153 chars gets splited into two line of... (8 Replies)
Discussion started by: hareeshkumaru
8 Replies
9. AIX
Hi,
I have a task of setting up connectivity between Oracle 10g (AIX) and Mainframe (1 library). Went through couple of documents, forums, blogs etc. MY understanding is ODBC Generic Connectivity is free from Oracle side.
Question: (may be dumb to you)
1. Has anybody done this and would... (3 Replies)
Discussion started by: jvmani_1
3 Replies
10. AIX
This discussion thread is an extension to what was discussed in Shell scripting section.
Please refer the post for the requirement:
Requirement Post - Click Here
The whole thread - Click Here
I would like to know how I can use NDM to transfer file from AIX to Mainframe and to verify the... (3 Replies)
Discussion started by: TechGyaann
3 Replies
LEARN ABOUT SUNOS
xferlog
xferlog(4) File Formats xferlog(4)
NAME
xferlog - FTP Server transfer log file
SYNOPSIS
/var/log/xferlog
DESCRIPTION
The xferlog file contains transfer logging information from the FTP Server, in.ftpd(1M). You can use the logfile capability to change the
location of the log file. See ftpaccess(4).
By default, each server entry is composed of a single line of the following form. All fields are separated by spaces.
current-time transfer-time remote-host bytes-transferred filename
transfer-type special-action-flag direction access-mode username
service-name authentication-method authenticated-user-id completion-status
The xferlog format capability can be used to customize the transfer log file format used. In addition to those in the default format, it
also supports chroot-filename, file-size, and restart-offset fields. See ftpaccess(4).
The fields are defined as follows:
current-time The current local time in the form DDD MMM dd hh:mm:ss YYYY, where:
DDD Is the day of the week
MMM Is the month
dd Is the day of the month
hh Is the hour
mm Is the minutes
ss Is the seconds
YYYY Is the year
transfer-time The total time in seconds for the transfer
remote-host The remote host name
bytes-transferred The number of bytes transferred
filename The absolute pathname of the transferred file
transfer-type A single character indicating the type of transfer:
a Indicates an ascii transfer
b Indicates a binary transfer
special-action-flag One or more single character flags that indicate any special action taken. The special-action-flag can have one of
more of the following values:
C File was compressed
U File was uncompressed
T File was archived, for example, by using tar(1)
_ (underbNo)action was taken.
direction The direction of the transfer. direction can have one of the following values:
o Outgoing
i Incoming
access-mode The method by which the user is logged in. access-mode can have one of the following values:
a For an anonymous user.
g For a passworded guest user. See the description of the guestgroup capability in ftpaccess(4).
r For a real, locally authenticated user
username The local username, or if anonymous, the ID string given
service-name The name of the service invoked, usually ftp
authentication-method The method of authentication used. authentication-method can have one of the following values:
0 None
1 RFC 931 authentication
authenticated-user-id The user ID returned by the authentication method. A * is used if an authenticated user ID is not available.
completion-status A single character indicating the status of the transfer. completion-status can have one of the following values:
c Indicates complete transfer
i Indicates incomplete transfer
chroot-filename The pathname of the transferred file relative to the chroot point. This will differ from the filename field for
anonymous and guest users.
file-size The size, in bytes, of the file on the server.
restart-offset The offset, in bytes, at which the file transfer was restarted (0 when no restart offset was specified).
FILES
/var/log/xferlog
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpr |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
tar(1), in.ftpd(1M), ftpaccess(4), ftpconversions(4), attributes(5)
StJohns, Mike. RFC 931, Authentication Server. Network Working Group. January 1985.
SunOS 5.10 25 Apr 2003 xferlog(4)