|
Minor clarification: Save the PC document data in a netserver shared folder (I like to share /home) so we can access the data via its UNC address. STRPCO STRPCCMD PCCMD('START WINWORD.EXE "\\netserver\home\yourdocument.txt"') PAUSE(*NO) We used this as the basis for an export facility. User runs menu option, that sets up a break message queue, submits build job to batch. Batch build completes, signals a break message, which starts the STRPCO script. Users love it. Eric DeLong Sally Beauty Company MIS-Project Manager (BSG) 940-898-7863 or ext. 1863 -----Original Message----- From: Ross Hartford [mailto:ross.hartford@ccslink.com] Sent: Tuesday, January 14, 2003 7:18 AM To: Midrange Systems Technical Discussion Subject: RE: Opening PC docs thru AS/400 Use the following: strpco (Starts the PC organizer function of Client Access) STRPCCMD PCCMD('"C:\Program Files\Microsoft Office\Office\winword.exe"') PAUSE(*NO) (You can add the file name to open after the winword.exe. The double quotes are required if you have spaces in the command line. Ross -----Original Message----- From: midrange-l-bounces@midrange.com [mailto:midrange-l-bounces@midrange.com]On Behalf Of Vikas Bhat Sent: Tuesday, January 14, 2003 3:24 AM To: midrange-l@midrange.com Subject: RE: Opening PC docs thru AS/400 Hi all, Eric, Basically, its a word document that exists in a folder in the IFS. Its easy enough to map it to windows explorer and access it. I was trying to find out if there's any way one can open this document, from an AS/400 operation, triggering MS Word itself, so that it is viewed through Word. If I could do this through RPG or CL, it would be great! Thanks and regards, Vikas. > Date: Fri, 10 Jan 2003 10:30:42 -0600 > From: "DeLong, Eric" <EDeLong@Sallybeauty.com> > To: "'Midrange Systems Technical Discussion'" <midrange-l@midrange.com> > Subject: RE: Opening PC docs thru AS/400 > Message-ID: <ABC2AA8AE77BD51194AB0002A5894A0F0269D005@pop.sallybeauty.com> > Content-Type: text/plain; > charset=iso-8859-1 > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Precedence: list > Reply-To: Midrange Systems Technical Discussion <midrange-l@midrange.com> > Message: 6 > > Too quick.... need more information. What exactly are you looking for? > > Open a PC doc.... Open it where? On a PC? On AS400 greenscreen session? > Where is the doc.... On PC? On the AS400? > What initiates the operation? Is this an AS400 menu option that builds data > and then opens for review on the user's PC? > > You will almost certainly need to have Netserver active and define a shared > folder in the IFS file system. Once a share is available, you can access > this directory from Windows by its UNC address. > (//AS400_Netserver_Name/Share_Name/Path_to_object/object_name.xxx) > > > > Eric DeLong > Sally Beauty Company > MIS-Project Manager (BSG) > 940-898-7863 or ext. 1863 > > > > -----Original Message----- > From: Vikas Bhat [mailto:vikas@bluetech.ie] > Sent: Friday, January 10, 2003 8:39 AM > To: midrange-l@midrange.com > Subject: Opening PC docs thru AS/400 > > > Hi all, > > Just a quick question - Is there a way to open a PC doc without using > STRPCCMD and without having to map a PC drive to the AS/400? Like is there > an API or something? > > Thanks and regards, > Vikas. _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l or email: MIDRANGE-L-request@midrange.com 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@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l or email: MIDRANGE-L-request@midrange.com 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 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.