MC Press Online Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Copy Text Document from IFS to Network Public Drive (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Copy Text Document from IFS to Network Public Drive
#75252
Guest.Visitor (Visitor)

Birthdate:
Copy Text Document from IFS to Network Public Drive 2 Years, 2 Months ago  
MTBIKE9 wrote:<BR>
> I was hoping to find a similiar command to copy to the Network Public<BR>
> Folder. Then I could send a spool file to the Nework Folder to be<BR>
> viewed across the Network (That way I would not have to map all PCs<BR>
> to the IFS) I tried placing P:FINFLR in parameter TOFLR above, but<BR>
> since P is the Public Nework Drive the command did not work. I guess<BR>
> it is never that easy. Thanks for your help and have a great day.<BR>
<P>
You definitely can with the QNTC support. Take a look at this article to <BR>
see if it helps you out:<BR>
<a href="http://mcpressonline.com/mc? This e-mail address is being protected from spam bots, you need JavaScript enabled to view it @.6b16f47e">http://mcpressonline.com/mc? This e-mail address is being protected from spam bots, you need JavaScript enabled to view it @.6b16f47e</a><BR>
<P>
Bill <BR>
<P>
<P>
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#75253
Guest.Visitor (Visitor)

Birthdate:
Copy Text Document from IFS to Network Public Drive 2 Years, 2 Months ago  
I am doing this as well. I post a simple Calendar Schedule for everyone to see at my employer. Everyone does not have a mapped drive to the iSeries machine, but they do have access to a Windows-Based File Server. Reading the article you were pointed to previous to my post should help. In a nutshell it's a two step process; <p>1) You have to make sure your iSeries machine can 'see' the Windows File Server on the network. (Assuming there is some sort of physical connection, probably through TCPIP...) Taking advantage of this physical connection from the iSeries machine you execute the MKDIR command. I execute this command within our start of day program every time our iSeries is rebooted. For example, if your Windows File Server were called "FS1", you would do this; <p>MKDIR DIR('QNTC/FS1') <p>or you could do it by TCPIP address as well <BR>
(That's a made up number) <p>MKDIR DIR('QNTC/345.12.56.9') <p>2) Next you should be able to access any shared directories on that server. (check your security for them, or peruse using WRKLNK from the iSeries command line. Look for the QNTC directory and see how far down the path you can go with the '5' to display.) <p>From a CL program you could execute the following command that would convert a DB2 file (in this case I am doing a 132 character flat file that I converted from a spool file.) to an ASCII file into a directory location on your file server FS1. Notice you are going from an iSeries Library/File format to a directory format in the QNTC system. <p> CPYTOSTMF + <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FROMMBR('/qsys.lib/production.lib/schedflat.file+ <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/schedflat.mbr') + <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TOSTMF('/qntc/fs1/shared/daily schedules + <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/TodaySchedule.doc') + <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STMFOPT(*REPLACE) STMFCODPAG(*PCASCII) <p>Good Luck!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#75251
MTBIKE9 (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Copy Text Document from IFS to Network Public Drive 2 Years, 2 Months ago Karma: 0  
I am trying to take the Daily Production Schedule and place it in a Network Folder so it can be viewed by anyone/anywhere. <BR>
I routinely copy Spool Files to a Phys. File then to an IFS Folder for Display and Email. <BR>
Ex..CPYTOPCD FROMFILE(QGPL/UTL198P) TOFLR(EMAIL) + <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FROMMBR(*FIRST) TODOC(FINSCH.TXT) + <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;REPLACE(*YES) TRNFMT(*TEXT) <BR>
I was hoping to find a similiar command to copy to the Network Public Folder. Then I could send a spool file to the Nework Folder to be viewed across the Network (That way I would not have to map all PCs to the IFS) <BR>
I tried placing P:FINFLR in parameter TOFLR above, but since P is the Public Nework Drive the command did not work. I guess it is never that easy. Thanks for your help and have a great day. <p><!--mccodelink_begin--> <BR>
<!-- do not remove --> <BR>
<hr width=50 align=left><small><a href='http://www.mcpressonline.com/mc/showcode@@.6b3a3581' target='_blank'>Code</a></small> <BR>
<!--mccodelink_end-->
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#75254
Typex (User)
Fresh Boarder
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Copy Text Document from IFS to Network Public Drive 2 Years, 2 Months ago Karma: 0  
I think you are missing the point here. The Integrated File System itself is a Network Folder. There is no need to move anything.Just give access to it. It makes a fine free file server so you can scrap whatever else is doing that job for you at present and save yourself some money.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
   MC-STORE.COM