Search these forums.  This question was answered by Aaron Bartell ( I
think)  many months ago (last year).  He gave us a nifty little program
to upload files as large as 11MB (I think) to the IFS.  That should work
for what you are looking for.

Shannon O'Donnell





-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
SCarter@xxxxxxxxxxx
Sent: Tuesday, March 02, 2004 10:08 AM
To: Midrange Systems Technical Discussion
Subject: Re: moving files from PC to the IFS in green screen Application



the real problem is that we have a screen scraping application whose
emulator does not support strpco.  We can create a download to be
initiated from that screen but wanted to be able to find a general way
that would always work whether the user was on the green screen or in
the applet without having to maintain two distinct sets of code. Steve
Landess suggestion of using qntc is the closest to what I am looking for
but I am not very familiar with the workings of qntc so am a little out
of my element there.  I will research that tack furhter however...



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



|---------+------------------------------->
|         |           Bryan Dietz         |
|         |           <BDietz@xxxxxxxxxx> |
|         |           Sent by:            |
|         |           midrange-l-bounces@m|
|         |           idrange.com         |
|         |                               |
|         |                               |
|         |           03/01/2004 06:52 PM |
|         |           Please respond to   |
|         |           Midrange Systems    |
|         |           Technical Discussion|
|         |                               |
|---------+------------------------------->
 
>-----------------------------------------------------------------------
-------------------------------------------------------|
  |
|
  |       To:       Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx>                                              |
  |       cc:
|
  |       Subject:  Re: moving files from PC to the IFS in green screen
Application                                              |
 
>-----------------------------------------------------------------------
-------------------------------------------------------|








What emulator are you using??  There are some that support STRPCO.  I
would envision the program like this

pgm
strpco
monmsg iws4010
STRPCCMD PCCMD('copy c:\temp\file.ext   \\qas400\dir\') PAUSE(*NO)
endpgm

this assumes you have the 400 shared via netserver.

----------------------------
Bryan Dietz
-----------------------------------------------------------
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.






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

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2022 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.