× 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.



Scott,
If you have NetServer running and have set up shares on the PC's, you can
use the CPY command to copy files directly from the PC to a folder in the
IFS by using the QNTC file system.

Example:

I have a PC named I8KWINXP, with drive D: shared as D_I8KWINXP.
>From the green-screen command line on my AS/400, I just executed this
command:

CPY OBJ('/QNTC/I8KWINXP/D_I8KWINXP/temp/sql.txt') TODIR('/TMP')

and it copied the file SQL.TXT from the D:\TEMP folder to the /TMP folder in
the IFS.

HTH,
Steve Landess
Austin, Texas
(512) 423-0935


----- Original Message ----- 
From: <>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Monday, March 01, 2004 5:56 PM
Subject: moving files from PC to the IFS in green screen Application


>
> Assuming I don't have client access for the strpccmd commands is there a
> way to move files from a users PC to the IFS in a green screen
application?
> Problem is this we have an application where a user/employee fills out a
> Purchase Request they have some backup documentation( ie, Quotes,
> engineering charts etc) that normally flow along ith the Paper request
> through an approval cycle then the requesti entered and the documentation
> is filed.
> My problem is this we have moved from a Paper Request to an online(
> greenscreen Process) however now the backup documentation does not flow
> with the request.  I am currently looking for a way to allow the user to
> place these documents in the IFS. If I felt comfortable that all of the PC
> were running client access I could just use strpccmd and start windows
> explorer in a certain directory, then use use IFS api's to move these to a
> permanent location.
> Is there anyway to accomplish this task within a green screen App?
>
>
>
> J. Scott Carter
> Programmer/Analyst
> e-mail: Mailto:scarter@xxxxxxxxxxx
> Phone: 214.583.0348
>
> "When I die, I want to die like my grandmother who died peacefully  in her
> sleep.
> Not screaming like all the passengers in her car."
>
>     - Author Unknown
>
>
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>

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.