Scott
Sorry for the vagueness...the result of rushing off the next "fire".....  we
are thinking of implementing MailTool from BVSTools to email invoices to
various stores....the invoices are spoolfiles, generated from RPG that we
want to send to the stores.  We would prefer to attach the spoolfiles so
that the managers receive via email what they are currently receiving on
paper...hoping to keep confusion to a minimum.  But we could also generate
individual files to send if necessary. 
As far a "creating a directory"  we got as far as merely taking the option
off the menu to create a directory.
Thanks
Mary
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Friday, August 29, 2008 6:17 PM
To: Midrange Systems Technical Discussion
Subject: Re: New to IFS
Howdy Mary,
I am new to IFS on the AS400...I have created a directory, but am puzzled
as
to how to get files into it.this will be used for email purposes.I have
searched the archives, but could not  find any info as basic as this.
To answer your question, we'd need to know a bit more about what you 
mean by "IFS" and also what application(s) you'd like to use to place 
things there.  Or, if you're writing an application, what language do 
you want to code it in?
You see, the IFS isn't just one thing.  It's many different file systems 
all integrated together -- that's why it's called "integrated file 
system".
The IFS can be used to store stream files (PC-style files) on your DASD. 
It has several different file systems with this capability.  Off the top 
of my head, there are QDLS which is like MS-DOS, "root" which is like 
Windows, and QOpenSys which is like Unix.  (There may be some I'm 
forgetting).
The IFS can also be used as a means of accessing other computers over a 
network.  /QNTC lets you access Windows Networks.  NFS lets you access 
NFS Networks (usually associated with Unix), and /QFileSvr.400 lets you 
access other computers running the IBM i operating system (or i5/OS or 
OS/400).
There's software available to let other people access your IFS (or parts 
of it) over a network.   There's an FTP server, HTTP server and 
NetServer which is a Windows Networking server available to run under 
the IBM i (or OS/400, i5/OS) operating system.
The IFS also provides /QSYS.LIB for access to your traditional 
libraries/objects, and /QOPT for accessing optical drives (such as CD or 
DVD drives on your i)
So, when you say "I created a directory in my IFS" what do you mean, 
exactly?  Do you mean you created a directory in the root file system? 
or QOpenSys?  Or QDLS?  Or on a Windows computer over a network?  Or a 
new library in the traditional area?
When you ask how to put files there, what do you mean?   Do you want to 
copy files to it from a CL program?   Create new files from scratch in 
an RPG program?   Copy stuff to it from a Windows PC?
You see what I mean?  I could certainly answer your question (as others 
have done) and provide one way of creating a file in an IFS directory -- 
the problem is, there are so many options available, it may be totally 
different from what you're really looking for.
I figured it'd be better to ask for more information...
 
As an Amazon Associate we earn from qualifying purchases.