 




<?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: Retreive program atrributes and save information in a file</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/retreive-program-atrributes-and-save-information-in-a-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/retreive-program-atrributes-and-save-information-in-a-file/</link>
	<description></description>
	<lastBuildDate>Sun, 26 May 2013 01:40:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/retreive-program-atrributes-and-save-information-in-a-file/#comment-83786</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sun, 14 Nov 2010 08:32:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-83786</guid>
		<description><![CDATA[I&#039;m not clear why you&#039;d want to &quot;have the information stored in a file&quot;. That is, you&#039;re going to be coding a call to an API (or a spooled file) to extract the attribute from the program object no matter what. Then you&#039;re going to write the extracted info to a file just so you can read it back in again.

Why not just create a UDF that returns the activation group attribute whenever a library/program name is passed into it? It will just do what you&#039;re going to code anyway.

The OS is object-based. UDFs provide a fairly natural connection between the objects you manipulate and the files you&#039;ll be using. You can run something as direct as DSPOBJD to populate a table with program names, then query that file with your UDF specified and the activation group comes out of the live object.

Tom]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m not clear why you&#8217;d want to &#8220;have the information stored in a file&#8221;. That is, you&#8217;re going to be coding a call to an API (or a spooled file) to extract the attribute from the program object no matter what. Then you&#8217;re going to write the extracted info to a file just so you can read it back in again.</p>
<p>Why not just create a UDF that returns the activation group attribute whenever a library/program name is passed into it? It will just do what you&#8217;re going to code anyway.</p>
<p>The OS is object-based. UDFs provide a fairly natural connection between the objects you manipulate and the files you&#8217;ll be using. You can run something as direct as DSPOBJD to populate a table with program names, then query that file with your UDF specified and the activation group comes out of the live object.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: astradyne</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/retreive-program-atrributes-and-save-information-in-a-file/#comment-48845</link>
		<dc:creator>astradyne</dc:creator>
		<pubDate>Thu, 16 Feb 2006 05:28:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-48845</guid>
		<description><![CDATA[Hi

There are a couple of API&#039;s that you can use to retrieve this information directly into your program for a specified ILE program or service program.

QCLRPGMI retrieves program information (including the activation group) for non-service programs, while QBNRSPGM retrieves it for service programs.  The activation group &quot;name&quot; is held in the Activation Group Attribute field.

I have a routine that uses other API&#039;s to create a program/module/resource cross reference which could easily be modified to include the activation group using the above API&#039;s.  It&#039;s available for download at www.astradyne-uk.com/downloads.htm if you want to take a look.

All the best

Jonathan]]></description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>There are a couple of API&#8217;s that you can use to retrieve this information directly into your program for a specified ILE program or service program.</p>
<p>QCLRPGMI retrieves program information (including the activation group) for non-service programs, while QBNRSPGM retrieves it for service programs.  The activation group &#8220;name&#8221; is held in the Activation Group Attribute field.</p>
<p>I have a routine that uses other API&#8217;s to create a program/module/resource cross reference which could easily be modified to include the activation group using the above API&#8217;s.  It&#8217;s available for download at <a href="http://www.astradyne-uk.com/downloads.htm" rel="nofollow">http://www.astradyne-uk.com/downloads.htm</a> if you want to take a look.</p>
<p>All the best</p>
<p>Jonathan</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 282/285 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-26 07:51:09 -->