Ask the Expert

Options when file names are longer 10 characters

I need to send -- via FTP -- a file in a directory called MIKROS : /MIKROS/MSD08042005.txt on another iSeries system in /QSYS.lib/HOSTIERJ.lib. The problem is: the file on the remote system must have the same name, MSD08042005.txt, as the file on the local system. How can I do that?

The files in QSYS are limited in length to 10 characters, so your proposed name is not acceptable in QSYS.LIB. Your options are:

  1. Use namefmt 1 and send the file to the remote as 400 IFS; or
  2. Truncate the name (or rename it ) during the ftp process.

If the target file in the QSYS.LIB is to be somehow accessed by SQL you may consider using an alias (i.e., create alias MSD08042005 for file with name D08042005).

This was first published in September 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: