PASSPORT Knowledge Base
File Transfer

Date Published: February 26, 2010
Date Updated: August 9, 2010

Title

Cannot Transfer a File That Begins With a Number To The Mainframe

Product

PASSPORT PC to Host, PASSPORT Web to Host, PASSPORT FTP Client

Issue

While attempting to transfer a file to the mainframe, which begins with a numeric value (whether with IND$FILE file transfer or using FTP) the user will get an error and the file transfer will be aborted.

 

With IND$FILE, the host will return the following error:

 

 

While with FTP the following error will be displayed:

 

Solution

PASSPORT using IND$FILE:

 

In order to transfer a file, which begins with a numeric value, you must either rename the original PC file so that it begins with an alpha character, or you may rename the file during the file transfer by adding one or more alpha characters to the beginning of the Host File Name:

 

 

PASSPORT using FTP:

 

If using FTP from the PASSPORT client, you also must either rename the original PC file so that it begins with an alpha character, or you may rename the file during the file transfer by adding one or more alpha characters to the beginning of the Host File Name:

 

 

PASSPORT FTP Client:

 

Mainframe (MVS) does not allow you to begin your filename with a numeric value, so you will get an Invalid Data Set Name error. However, with the PASSPORT FTP Client, you may use the QUOTE command from the Communication menu (F6) to rename the destination file to NOT begin with a number. For example:

 

put C:\3270localfile.txt hostfile.txt
 

 

This will transfer a local file named 3270localfile.txt to the mainframe and rename it hostfile.txt

More Information

Keywords

transfer, file, name, begin, number, quote, invalid, data, set, name, ftp, ind$file