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



One option is if the url path to the document can be determined, why not
launch the browser from your RPG program to display the pdf.
This is part of a clp to launch the browser, called from a RPG screen.
Whether the path is to your own ifs or to another server (web server like
apache must be running). STRPCO is available with iSeries Access, but other
options include RUNRMTCMD. Here is a tutorial:
http://www.mcpressonline.com/programming/rpg/calling-a-pc-application-from-r
pg-part-ii.html
Btw - as a comment to your rented space provider - why not ifs access ??? or
do you not know how...
Jim
CHGVAR VAR(&URL) VALUE('/abc/' *TCAT &CUST *TCAT +
'_' *TCAT &WO *TCAT '_' *TCAT &TIME *TCAT +
'_DISREGARD.pdf')

SPLCONVERT FILE(WLTR06PB) TOOBJ(&URL) SPLNBR(*LAST) +
TRANSFORM(*PDF811) REPLACE(*YES) +
DTAAUT(*ALL) CRTDIR(*NO) PAGERANGE(1 +
*END) DLTSPLF(*YES)

/* THIS WILL DISPLAY PDF TO GREEN SCREEN USER */
CHGVAR VAR(&CMD) VALUE('rundll32 +
url,FileProtocolHandler +
http://10.0.x.xxx/xyz' *TCAT &URL)
STRPCO
MONMSG MSGID(IWS4010)
STRPCCMD PCCMD(&CMD)


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Luedke, Pat
Sent: Wednesday, June 08, 2016 5:08 PM
To: 'midrange-l@xxxxxxxxxxxx'
Subject: Network connectivity

In a previous life, I was able to store documents on the IFS and retrieve
them for display from an RPG program. In my current position, we "rent"
space on a SystemI and are not allowed to use the IFS for document storage.
We store relevant PDFs, scanned documents etc in folders on our Windows
network. I would like to be able to retrieve these documents from an RPG
program in the same manner as I did from the IFS. Since I have no hands
on or extended permissions on the SystemI and can do no configuring, is this
even a possibility?

Patricia Luedke
Senior Programmer/Analyst


IMPORTANT NOTICE: The information contained in this transmission is private
and confidential. It is intended only for the recipient(s) named above. If
you are not named above, not an agent of a recipient, then you have received
this in error, and to review, distribute or copy this transmission or its
attachments is strictly prohibited by federal law. If you have received this
in error, please notify the sender by e-mail or fax immediately. If this
message contains "Protected Health Information" or other protected or
private information you must abide by the rules of HIPAA and any other
privacy rules that apply.
--
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.

Please contact support@xxxxxxxxxxxx for any subscription related questions.


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.