 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: IFS &amp; PDFs</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/ifs-pdfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/ifs-pdfs/</link>
	<description></description>
	<lastBuildDate>Mon, 20 May 2013 18:21:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: yorkshireman</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ifs-pdfs/#comment-98937</link>
		<dc:creator>yorkshireman</dc:creator>
		<pubDate>Fri, 11 Nov 2011 10:47:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-98937</guid>
		<description><![CDATA[Hmmm 

We do this all the time, every day, thousands of times a day - both PDf and .rtf type documents. 
the document objects are stored in many folders, analogous to your &#039;monthly&#039; structure. 


In our case the document path is stored in a file - there are &#039;random&#039; new documents scattered across the structure each day, so we maintain the list..  Some descriptive data - like your &#039;keys? - is stored as well.   Aa subfile over this data, with the usual selection/positioning/filtering, drill down blah blah gives a user visibility.  selecting to view the content of an object cause the function to identify its type, check authority, and then run STRPCCMD with whatever is appropriate. 


Access to the list of objects in a folder is programtically very straightforward, using tools for reading folders and document names - a quick web search will throw up lots of bits of code.  We used Scott Klements toolkit, which is well documented, and merely needed to take examples of code in his &#039;manual&#039; and stitch it into our own stuff. 


There are alternative techniques available of course -  we have other troutes in use for particular systems, generally also based on holding a table of &#039;authorised and valid&#039; document objects, then running the approriate function against the entry - browser access could be useful, but the consistent speed of 5250 emulation and integration into core legacy systems decided that the &#039;main&#039; way in is still good old DB2 and character screens.]]></description>
		<content:encoded><![CDATA[<p>Hmmm </p>
<p>We do this all the time, every day, thousands of times a day &#8211; both PDf and .rtf type documents.<br />
the document objects are stored in many folders, analogous to your &#8216;monthly&#8217; structure. </p>
<p>In our case the document path is stored in a file &#8211; there are &#8216;random&#8217; new documents scattered across the structure each day, so we maintain the list..  Some descriptive data &#8211; like your &#8216;keys? &#8211; is stored as well.   Aa subfile over this data, with the usual selection/positioning/filtering, drill down blah blah gives a user visibility.  selecting to view the content of an object cause the function to identify its type, check authority, and then run STRPCCMD with whatever is appropriate. </p>
<p>Access to the list of objects in a folder is programtically very straightforward, using tools for reading folders and document names &#8211; a quick web search will throw up lots of bits of code.  We used Scott Klements toolkit, which is well documented, and merely needed to take examples of code in his &#8216;manual&#8217; and stitch it into our own stuff. </p>
<p>There are alternative techniques available of course &#8211;  we have other troutes in use for particular systems, generally also based on holding a table of &#8216;authorised and valid&#8217; document objects, then running the approriate function against the entry &#8211; browser access could be useful, but the consistent speed of 5250 emulation and integration into core legacy systems decided that the &#8216;main&#8217; way in is still good old DB2 and character screens.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ifs-pdfs/#comment-98920</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 11 Nov 2011 03:25:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-98920</guid>
		<description><![CDATA[&lt;i&gt;I need to be able to display the keys for the docs on a subfile...&lt;/i&gt;

What is &quot;keys for the docs&quot;? Does that just mean that each doc has an identifier that the user will recognize?

Tom]]></description>
		<content:encoded><![CDATA[<p><i>I need to be able to display the keys for the docs on a subfile&#8230;</i></p>
<p>What is &#8220;keys for the docs&#8221;? Does that just mean that each doc has an identifier that the user will recognize?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ifs-pdfs/#comment-98919</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 11 Nov 2011 03:22:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-98919</guid>
		<description><![CDATA[Note that it&#039;s not necessary to start nor use a HTTP server. URLs can be coded as file:// links to have the browser load them directly without using the http: protocol. There are a couple potential quirks in how the URLs must be structured; but if the PCs are going to be expected to load PDFs out of the IFS anyway, those quirks ought to be easy to handle.

Tom]]></description>
		<content:encoded><![CDATA[<p>Note that it&#8217;s not necessary to start nor use a HTTP server. URLs can be coded as file:// links to have the browser load them directly without using the http: protocol. There are a couple potential quirks in how the URLs must be structured; but if the PCs are going to be expected to load PDFs out of the IFS anyway, those quirks ought to be easy to handle.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ifs-pdfs/#comment-98910</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 11 Nov 2011 00:01:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-98910</guid>
		<description><![CDATA[Because these will be displayed by a PC, maybe they would be listed better on a PC.

I was wondering if a .HTML document might be created on a regular (daily?) basis. The document could be as simple as a list of links to each PDF. Instead of listing the PDFs in a subfile and then sending a command to the PC to display a selected PDF, you might just send a command to the PC to open the .HTML document.

There are elements of STRPCCMD that can be tricky. I was wondering if an alternative to creating and working via a subfile might be acceptable.

Tom]]></description>
		<content:encoded><![CDATA[<p>Because these will be displayed by a PC, maybe they would be listed better on a PC.</p>
<p>I was wondering if a .HTML document might be created on a regular (daily?) basis. The document could be as simple as a list of links to each PDF. Instead of listing the PDFs in a subfile and then sending a command to the PC to display a selected PDF, you might just send a command to the PC to open the .HTML document.</p>
<p>There are elements of STRPCCMD that can be tricky. I was wondering if an alternative to creating and working via a subfile might be acceptable.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tjgm88</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ifs-pdfs/#comment-98866</link>
		<dc:creator>tjgm88</dc:creator>
		<pubDate>Thu, 10 Nov 2011 05:25:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-98866</guid>
		<description><![CDATA[Hi Tom,
Thanks for your and all other responses.

We have a folder for each month and the number of documents will be static within each folder - no daily changes. For the next month a new folder is created.  Its a monthly job.
I need to be able to display the keys for the docs on a subfile, enable the user to select and then display the seectedpdf on PC.
Regards.]]></description>
		<content:encoded><![CDATA[<p>Hi Tom,<br />
Thanks for your and all other responses.</p>
<p>We have a folder for each month and the number of documents will be static within each folder &#8211; no daily changes. For the next month a new folder is created.  Its a monthly job.<br />
I need to be able to display the keys for the docs on a subfile, enable the user to select and then display the seectedpdf on PC.<br />
Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ifs-pdfs/#comment-98844</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 09 Nov 2011 19:19:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-98844</guid>
		<description><![CDATA[&lt;i&gt;These are historical data. &lt;/i&gt;

How many documents are there? And how often does the list change?

For example, if you had a static list in a file, would refreshing it daily be sufficient to keep it up to date?

Tom]]></description>
		<content:encoded><![CDATA[<p><i>These are historical data. </i></p>
<p>How many documents are there? And how often does the list change?</p>
<p>For example, if you had a static list in a file, would refreshing it daily be sufficient to keep it up to date?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nullfields</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ifs-pdfs/#comment-98824</link>
		<dc:creator>nullfields</dc:creator>
		<pubDate>Wed, 09 Nov 2011 14:43:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-98824</guid>
		<description><![CDATA[This is just a brainstorm idea, I have not done this exactly:
You can get a list of the PDFs from the IFS and list the full path on the display.
System i Access 5250 has a Hot-Spot option under preferences where you can get it to recognize URLs.  It makes it so a click of the URL will open your browser to the link. You need to define the PC browswer under Preferences &#124; Browser.
So, if you can turn your IFS folder into a URL (HTTP server included on the IBMi for free?), this might work.  Sorry, I don&#039;t have time right now to test this out on my own.]]></description>
		<content:encoded><![CDATA[<p>This is just a brainstorm idea, I have not done this exactly:<br />
You can get a list of the PDFs from the IFS and list the full path on the display.<br />
System i Access 5250 has a Hot-Spot option under preferences where you can get it to recognize URLs.  It makes it so a click of the URL will open your browser to the link. You need to define the PC browswer under Preferences | Browser.<br />
So, if you can turn your IFS folder into a URL (HTTP server included on the IBMi for free?), this might work.  Sorry, I don&#8217;t have time right now to test this out on my own.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deepu9321</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ifs-pdfs/#comment-98816</link>
		<dc:creator>deepu9321</dc:creator>
		<pubDate>Wed, 09 Nov 2011 09:55:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-98816</guid>
		<description><![CDATA[You can use the STRPCCMD by using any of the following APIs.
QCMDEXEC, QCAEXEC, or QCAPCMD.]]></description>
		<content:encoded><![CDATA[<p>You can use the STRPCCMD by using any of the following APIs.<br />
QCMDEXEC, QCAEXEC, or QCAPCMD.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.015 seconds using memcached
Object Caching 366/369 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-20 20:29:13 -->