Anything dealing with IFS
I am getting difficulty in merging IFS files on AS/400. I have a below requirement, please advise how to proceed. I am getting 5 text files in AS/400 folder from window FTP server. i.e. PUT from Window into AS/400 folder. Then I have to merge these files into a single PF. Then my programs...
Dear All, I am trying to copy '/R3_222/CL/CL20100901130000.txt' file from AS/400 folder to R3_222/BKAC04I physical file by using below command CPYFRMIMPF FROMSTMF('/R3_222/CL/CL20100901130000.txt' ) TOFILE(WIPODCQA/BKAC04I) ...
Hi All: I'm using the CPYTOIMPF command with RMVBLANK parm. Wether I use *LEADING / *TRAILING / or *BOTH on the rmvblank parm there is always 1 blank between the 2 commas. NAME,ADDRESS1, ,CITY,STATE,ZIP should be NAME,ADDRESS1,,CITY,STATE,ZIP Is there a command that will actually remove...
cross-post from http://www.support.ecofitonline.com/showthread.php?258-Listing-a-Directory-Tree-Contents For those of you using this utility, I have had to make a minor change. I included a 6-month bug :) After sitting in IFS for 6 months, the display of the timestamp format of the 'ls'...
I need to set up a profile on our AS400 to allow read/write/delete to files in a shared folder. Is *ALLOBJ necessary as the only access need is to the shared folder? TIA
I need to write a clean-up routine for servers that are being decommissioned. Part of this cleanup routine is cleaning up the IFS. I have looked at the RMVLNK and RMVDIR procedures but, nothing seems "all inclusive" for a removal process (aka .. like a DELTREE Command). Are there other...
Hi All, We are generating some of the reports during month end under /QDLS/MTHRPT folder. 1. As of last of month we extracted all the files or docs to our local drive and Zip it upload it again to the same folder which is consuming lot of time. 2. Now we have decided to use CPYTOIMPF to...
Hello, When the file is created on the Shared IFS folder, from green screen side, the objects attributes of that file shows its actual information, such as Creation date/time . . . . . . . . . . : 02/07/10 12:55:20 Last access date/time . . . . . . . . : 02/07/10 13:45:08 Data...
Need to be able to read a pdf in the IFS and include it as an attachment to a new pdf which will be used to send as an email. I am using ILE and can send the email with the attachment but the attachment is not looking good. Some is legible but most of it is missing. Any one have any experience...
Hello, IFS directory hierarchy as follows / OUTPUT JAN2010 FEB2010 MAR2010 .
Hi all, I guess you already know what's this about. My save file won't work on V5R3M0, it says save file was created in different version of operating system. Indeed it was created by me in V5R4M0. Any way I can make it to work with R3? (OS/400 must be backwards compatible!) My ultimate...
So I wrote a small program to write a text file to the IFS. But I forgot the close(fd). Now I can now get rid of the file because it says it is in use. How do I close it and delete it? thnx
Hi Is it possible to copy files from IFS directories to QDLS folders? What I did is, I mapped to IFS root through windows, then I copied a document in IFS directory and tried to paste it in QDLS folder. But it is allowing me copy the file. Is there anything that I'm missing here? Thanks...
Hi, I need to move some physical files from one as/400 to another. I cannot use savf, because I don't have privilege to use RSTOBJ command. In order to achieve this, i tried FTP'ing the physical file itself in Binary mode from AS/400 to Windows, and then to other AS/400. However data got...
Hi I am trying to save an Excel workbook as a csv directly to the IFS using a macro. This is what I've got so far: Sub Macro() ' ignore messages Application.DisplayAlerts = False
Wondering if there is a possibility that when a file is added/created on an IFS directory it triggers an event. We basically have a process where a file will be dropped to a directory (file name will be different each time) and upon when added, it needs to be processed (real time). However,...
Hey gang! First time poster, although been lurking for a few. I have a directory on the IFS, lets call it '/my directory' that has multiple files dumped to it throughout the day. What we want is a real-time process that when a file gets written to the directory, it is immediately read,...
I have quite a few processes where I retrieve a text file from an FTP site, use CPYFRMIMPF to get the data into a native database file, then run RPG pgms over it. Until now, i have simply ensured that the file was a single file with the same filename. This is all done through a scheduled CLP and...
Hi, IFS meaning please why use this.I know from google.But please tell me real senario Thanks giri
Hi, We get a .tar.gz file ftp'd to our IFS each week and I would like to know if I can unzip the file using standard system I functionality via a program so the whole process can be automated. Currently, I'm unzipping it manually, then copying the contents back to the same IFS directory and then...
Hi All, How could I check the existence of the stream file in IFS? Suppose I have a stream file /TEST/print.xml then how can I know that this particular stream file is exist inside an Directory. Is there any API to find out the same. Thanks in advance. Regards Skma:rolleyes:
hi, i wish to download saved query/400 definitions from as/400 to my pc and view them on my pc. any way possible? is not possible i wish to know if i can just download them in some form and upload to another as/400 and be able to view them there. i cannot use ftp or save files. only available...
Hi, I want to move my report output to one of my shared drive in my PC. So that any body can view the report who has access to it. Could you please help me out on this? Thanks.
Hi All, I am executing FTP command through AS400. When I am running script interactively, it is giving "Spawn id exp3 not open" error. Call QP2TERM and execute below command : /QOpenSys/opt/freeware/bin/expect -f tmp/expectScript.txt
I am trying to do a COPY or MOVE in the IFS in a batch CL program using the following command: COPY OBJ(&FILEOUT) + TODIR('/CONAIR/QAS/ENTERRA/SENT') Where Fileout = /conair/qas/enterra/ZIPPED/OPEN_ORDERS .ZIP When I execute the program I get...
There are currently 1 users browsing this forum. (0 members & 1 guests)
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules