I just tried this and it works fine for me.
1. Found and download file gmarbles.tif via google and saved it as /home/pjctest/tmp/gmarbles.tif in the IFS on my i5 whose name is baycorp2.
2. Rename this file to BD01291AA.BID so that we're ready to test which is achieved by just 2 steps as follows.
3. Create a temporary symbolic link ADDLNK OBJ('/home/pjctest/tmp/B01291AA.BID') NEWLNK('/tmp/gmarbles.tif')
4. Display the image STRPCCMD PCCMD('start file:///\baycorp2\ifs$\tmp\gmarbles.tif') PAUSE(*NO)
The /tmp folder is cleared each day of all objects older than 1 day.
Cheers, peter
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Richard Schoen
Sent: Wednesday, 27 February 2013 5:56 p.m.
To: midrange-l@xxxxxxxxxxxx
Subject: re: view ifs image and specify viewer with strpccmd
Jim,
Can't speak for the STRPCCMD because performance will be entirely dependent on how fast your IFS shares perform. History has shown Netserver shares can be very sloooow. Miileage may vary.
If you were using something like HTTP, CGI or our OFCRUNPC and OFCTFR commands they are fast because we DO NOT rely on file shares at all. It's all IP traffic.
We have customers doing this in Citrix mode and it works fine. As long as your network and Citrix servers perform well.
Again mileage may vary.
I would be remiss if I didn't mention that our WebDocs iSeries product can be used to augment or replace Content Manager. Our imaging client viewer could also be tweaked to possibly handle the weird file extensions for you. We did this for a CM customer several years back where wanted to maintain all the old file names.
Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site:
http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
________________________________________
message: 5
date: Tue, 26 Feb 2013 22:56:12 -0500
from: "franz400" <franz400@xxxxxxx>
subject: Re: view ifs image and specify viewer with strpccmd
I know several have suggested a quick copy to a .tif name.
This is not hard to code, but we are having a concern for the performance.
This company has a large and continuous group of people viewing images constantly. Yes - Content Manager is big & bulky, but it is tightly integrated into many apps throughout the co. Our need is to get around an issue for a separate other large group of users needing just a simple view image from the 5250 session (and there is Citrix involved which is causing the local versus remote sessions to act diff ).
My thought was to remove Content Manager from the equation, and use just the native Win Fax Viewer via the STRPCCMD.
I appreciate all the suggestions and will test the "temp copy" tomorrow.
Jim Franz
----- Original Message -----
From: "Richard Schoen" <richard@xxxxxxxxxxxxxxx>
To: <midrange-l@xxxxxxxxxxxx>
Sent: Tuesday, February 26, 2013 2:39 PM
Subject: RE: view ifs image and specify viewer with strpccmd
Make a temp copy of the file with a .TIF extension and launch it with
STRPCCMD.
That's essentially what we have customers do with our iSeries Office
Integrator product when they want to launch files with non-standard
extensions.
Copy file and then use the OFCRUNPC command to launch it.
We have taken it a step further where the iSeries job can optionally
stay locked up until the file is closed and then the temp file gets
auto-cleaned up.
Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
------------------------------
message: 4
date: Tue, 26 Feb 2013 08:33:44 -0800 (PST)
from: J Franz <franz400@xxxxxxx>
subject: view ifs image and specify viewer with strpccmd
I have in the past used STRPCCMD to view an image stored in?the IFS
from a iSeries Access 5250 session, by using a http:// url and let the
browser select the viewer based in doc suffix (like .pdf).
However we have an issue where the doc name is "non-standard" like
B01291AA.BID? (this is IBM Content Manager stuff) and need to tell the
browser what viewer to use (it's tif or pdf) and need to view on pc
with no Content Manager client.
It is not an option to rename the image file.
Is this possible? Most likely tif and want to use Win native fax
viewer in STRPCCMD command.
pdf's would use Adobe Reader.
TIA
Jim Franz?
--
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.
#####################################################################################
This correspondence is for the named person's use only. It may contain confidential
or legally privileged information, or both. No confidentiality or privilege is waived
or lost by any mistransmission. If you receive this correspondence in error, please
immediately delete it from your system and notify the sender. You must not disclose,
copy or rely on any part of this correspondence if you are not the intended recipient.
Any views expressed in this message are those of the individual sender, except where
the sender expressly, and with authority, states them to be the views of Veda.
If you need assistance, please contact Veda on either :-
Australia 1300-762-207 or New Zealand +64 9 367 6200
As an Amazon Associate we earn from qualifying purchases.