× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Joe!

From the i5 side (green screen) you can access a network drive which is
configured for the /QNTC file system.

From the server side you can write a batch file to access "i5server" IFS
and call it from CL.

In my environment I've found accessing the IFS from the server to be
more reliable than accessing the server through /QNTC. I suspect my
experience is because of operation issues, not problems with the /QNTC
file system.

For example:

CHGVAR &CMD ('E:\path_to_batch\ImageUnzip \ftp\import somefile.zip 09174
123456')
RUNRMTCMD CMD(&CMD) RMTLOCNAME(server *IP) +
RMTUSER(whoever) RMTPWD(password)
Console output goes to print file.

Batch file E:\path_to_batch\ImageUnzip.cmd (don't worry about %3 and %4)

@rem ------------------------------------------------
@rem Unzip %1\%2 from IFS into E:\CTiffWrk\%3\%4
@rem %1 is IFS path of folder from root
@rem %2 is ZIP file
@rem %3 is julian date for path
@rem %4 is job number for path
@rem %5 image data file to copy back to %1
@rem ------------------------------------------------


@rem change back to execution drive and folder of parm 0
%~d0
CD %~p0


@rem map a drive to folder of zip file
NET USE X: \\i5Server%1 password /USER:whoever
@if not exist X:\%2 GOTO noziperr


DIR X:\%2

@rem Java code here to make the directories in E:\CTiffWrk

@rem chg to E:\CTiffWrk\%3\%4
E:
CD \CtiffWrk\%3\%4


@rem unzip
unzip -extract X:\%2

@goto endit


@rem **********************************************************


:noziperr
@rem Unable to find file to unzip
@Echo Zip file not found %2
@goto endit


:endit
@rem cleanup
net use X: /delete
@exit



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of joe.kozlowski@xxxxxxxxxxxxxxxxxxxx
Sent: Monday, June 29, 2009 4:27 PM
To: WEB400@xxxxxxxxxxxx
Subject: [WEB400] IFS to network drive

Anyone out there that may have sent files from IFS to the a network
drive
with success? An example would work . Is there a *.bat that has be
created?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.