 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; tips and tricks</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 15:49:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>journal entry&#8217;s entry specific data</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/journal-entrys-entry-specific-data/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/journal-entrys-entry-specific-data/#comments</comments>
		<pubDate>Thu, 04 Aug 2005 11:15:00 +0000</pubDate>
		<dc:creator>Pprasad123</dc:creator>
				<category><![CDATA[Backup & recovery]]></category>
		<category><![CDATA[i5]]></category>
		<category><![CDATA[iSeries]]></category>
		<category><![CDATA[OS/400]]></category>
		<category><![CDATA[PC/Windows Connectivity]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I am trying to extract fields from security audit events. The problem comes when dealing with entry specific data field. This field contains lot of info which varies according to the entry type. Is there any API which returns information present in the entry specific data portion in a convenient format? Any suggestions or [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>I am trying to extract fields from security audit events. The problem comes when dealing with entry specific data field. This field contains lot of info which varies according to the entry type. Is there any API which returns information present in the entry specific data portion in a convenient format? Any suggestions or pointers would be very helpful.</p>
<p>Regards,<br />
P.Prasad</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/journal-entrys-entry-specific-data/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>timestamp value</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/timestamp-value/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/timestamp-value/#comments</comments>
		<pubDate>Thu, 21 Jul 2005 09:39:37 +0000</pubDate>
		<dc:creator>Pprasad123</dc:creator>
				<category><![CDATA[Backup & recovery]]></category>
		<category><![CDATA[i5]]></category>
		<category><![CDATA[iSeries]]></category>
		<category><![CDATA[OS/400]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I am receiving TIMESTAMP value from the iSeries system as an unsigned 64 bit integer value. Is it possible to convert this timestamp into a readable format in windows machine? The iSeries timestamp value is an unsigned 64 bit integer value. All the time management routines which I can use on a windows machine [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,<br />
I am receiving TIMESTAMP value from the iSeries system as an unsigned 64 bit integer value. Is it possible to convert this timestamp into a readable format in windows machine? The iSeries timestamp value is an unsigned 64 bit integer value. All the time management routines which I can use on a windows machine deal with signed integer value. So the iSeries timestamp appears as a negative value to the routines like ctime64() or gmtime64(). Any clues?</p>
<p>P.Prasad</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/timestamp-value/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>small doubt</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/small-doubt/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/small-doubt/#comments</comments>
		<pubDate>Mon, 18 Jul 2005 07:26:16 +0000</pubDate>
		<dc:creator>Pprasad123</dc:creator>
				<category><![CDATA[Backup & recovery]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[i5]]></category>
		<category><![CDATA[iSeries]]></category>
		<category><![CDATA[OS/400]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[UDB for iSeries/i5]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I have a small doubt in AS400 programming. This is regarding receiving journal entries. I am using ILE C to write the exit program. I am using RJNE0200 format on the RCVJRNE command. I am getting the entries in the exit program. But I have a few questions: - in the RJNE0200 format, there [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,<br />
  I have a small doubt in AS400 programming. This is regarding receiving journal entries. I am using ILE C to write the exit program. I am using RJNE0200 format on the RCVJRNE command. I am getting the entries in the exit program. But I have a few questions:<br />
- in the RJNE0200 format, there are data types for fields like BINARY(8) UNSIGNED. Now if i want to store the entries in my own DB2 table, what is the corresponding data type I need to use? Right now I am using BIGINT, but how to specify unsigned BIGINT?<br />
- in the RJNE0200 format, the timestamp is unformatted BINARY(8) UNSIGNED format. How do I get date and time out of this? I mean, are there any APIs which can be used to deal with unformatted BINARY(8) UNSIGNED timestamp? I want to do this in ILE C.<br />
- also I get garbage or just null in the remote address field but at the same time I get a valid value in the remote port field as well as in the address family field. I am getting valid values in all the fields except remote address and journal identifier fields. Any clues?</p>
<p>Thanks in advance,<br />
P.Prasad</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/small-doubt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File transfer to the iSeries problem.</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/file-transfer-to-the-iseries-problem/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/file-transfer-to-the-iseries-problem/#comments</comments>
		<pubDate>Wed, 13 Jul 2005 10:11:36 +0000</pubDate>
		<dc:creator>Bkr0963c</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[Backup & recovery]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[i5]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Integration/Connectivity]]></category>
		<category><![CDATA[iSeries]]></category>
		<category><![CDATA[Logical partitions]]></category>
		<category><![CDATA[OS/400]]></category>
		<category><![CDATA[PC/Windows Connectivity]]></category>
		<category><![CDATA[Performance/Tuning]]></category>
		<category><![CDATA[Printing]]></category>
		<category><![CDATA[PTFs]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server consolidation]]></category>
		<category><![CDATA[System monitoring]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am trying to transfer an excel speadsheet file to my AS/400. I have tried setting up a file transfer through client access and tried sending the file directly from Excel. Both times I get the following error cwbtf0023 &#8211; pc file description file was not specified or is empty The file is not empty. [...]]]></description>
				<content:encoded><![CDATA[<p>I am trying to transfer an excel speadsheet file to my AS/400. I have tried setting up a file transfer through client access and tried sending the file directly from Excel. Both times I get the following error</p>
<p>cwbtf0023 &#8211; pc file description file was not specified or is empty</p>
<p>The file is not empty. Any suggestions?</p>
<p>Also, through Excel I have tried numerous options like having it create the physical file and member for me on the AS/400 as well as the option of sending the info to a file already created on the AS/400. I continue to get the same error as above.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/file-transfer-to-the-iseries-problem/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Is *JOBCTL needed to view job logs?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-jobctl-needed-to-view-job-logs/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/is-jobctl-needed-to-view-job-logs/#comments</comments>
		<pubDate>Mon, 11 Jul 2005 14:09:58 +0000</pubDate>
		<dc:creator>Bkr0963c</dc:creator>
				<category><![CDATA[Backup & recovery]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[i5]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Integration/Connectivity]]></category>
		<category><![CDATA[iSeries]]></category>
		<category><![CDATA[Logical partitions]]></category>
		<category><![CDATA[OS/400]]></category>
		<category><![CDATA[PC/Windows Connectivity]]></category>
		<category><![CDATA[Performance/Tuning]]></category>
		<category><![CDATA[Printing]]></category>
		<category><![CDATA[PTFs]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server consolidation]]></category>
		<category><![CDATA[System monitoring]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have read IBM&#8217;s Security manual and Work Management manual and I know that *JOBCTL is needed to change job priorities and other things for jobs on the system, but I do not see any statements that say *JOBCTL is needed to view the job logs of other user&#8217;s jobs on the system. Does anyone [...]]]></description>
				<content:encoded><![CDATA[<p>I have read IBM&#8217;s Security manual and Work Management manual and I know that *JOBCTL is needed to change job priorities and other things for jobs on the system, but I do not see any statements that say *JOBCTL is needed to view the job logs of other user&#8217;s jobs on the system. Does anyone know if this is the case? I am going to test it to find the answer, but I would like to know without testing if possible. Thanks for the help.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/is-jobctl-needed-to-view-job-logs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>text file to iSeries spooled file</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/text-file-to-iseries-spooled-file/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/text-file-to-iseries-spooled-file/#comments</comments>
		<pubDate>Wed, 29 Jun 2005 14:22:37 +0000</pubDate>
		<dc:creator>Pmaurice32</dc:creator>
				<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[What&#8217;s the best way to duplicate a windows text file, containing page break characters, into a iSeries spooled file. I&#8217;m not familiar with RPG so if I can accomplish this using CL command and queries that would be great. I have software that processes spooled file reports so I&#8217;d like to try this with an [...]]]></description>
				<content:encoded><![CDATA[<p>What&#8217;s the best way to duplicate a windows text file, containing page break characters, into a iSeries spooled file.  I&#8217;m not familiar with RPG so if I can accomplish this using CL command and queries that would be great.  I have software that processes spooled file reports so I&#8217;d like to try this with an external text file.  Thanks,</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/text-file-to-iseries-spooled-file/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Print Image File in iSeries</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/print-image-file-in-iseries/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/print-image-file-in-iseries/#comments</comments>
		<pubDate>Wed, 22 Jun 2005 13:13:55 +0000</pubDate>
		<dc:creator>Tonytam</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[i5]]></category>
		<category><![CDATA[Integration/Connectivity]]></category>
		<category><![CDATA[iSeries]]></category>
		<category><![CDATA[OS/400]]></category>
		<category><![CDATA[Programming Languages]]></category>
		<category><![CDATA[RPG]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I would like to ask for help to use the data type field GRAPHIC in iSeries. Can I save an image file into this field type. If so, how do I do this? I have tried but it always shows an error of character conversion not valid. Please help. Regards, Tony Tam]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>I would like to ask for help to use the data type field GRAPHIC in iSeries. Can I save an image file into this field type. If so, how do I do this? I have tried but it always shows an error of character conversion not valid. Please help.</p>
<p>Regards,<br />
Tony Tam</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/print-image-file-in-iseries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Receiving journal entries</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/receiving-journal-entries/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/receiving-journal-entries/#comments</comments>
		<pubDate>Wed, 22 Jun 2005 05:55:56 +0000</pubDate>
		<dc:creator>Pprasad123</dc:creator>
				<category><![CDATA[Backup & recovery]]></category>
		<category><![CDATA[i5]]></category>
		<category><![CDATA[Integration/Connectivity]]></category>
		<category><![CDATA[iSeries]]></category>
		<category><![CDATA[OS/400]]></category>
		<category><![CDATA[Printing]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[System monitoring]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I am new to AS400, so need some help in solving a problem. I have tried to some extent but things seem to be more complicated than I thought. Problem Goal: receiving entries from a journal and putting them into a DB2 table in a predefined format(say Type5). RCVJRNE command can be used to [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>  I am new to AS400, so need some help in solving a problem. I have tried to some extent but things seem to be more complicated than I thought.</p>
<p>Problem Goal: receiving entries from a journal and putting them into a DB2 table in a predefined format(say Type5).</p>
<p>RCVJRNE command can be used to specify an exit program that will receive entries from the journal. From within this Exit program, I can open the pre-created DB2 table and write into it. But the main problem I am facing is how to maintain the last processed journal entry sequence number. It can happen that due to some reason my exit program completes or is killed. When I execute RCVJRNE command again, my exit program will receive all the entries from the beginning. I guess I need to call the RCVJRNE from within a CL program and maintain the sequence number on the disk, so that I can read it at the time the job is restarted. Also is there a way to make sure that if the job containing RCVJRNE is stopped somehow, it is automatically restarted and RCVJRNE is run. All required info can be got from the CL programming guide &#038; iSeries Info center but seems to be too big to go through for a quick solution. Any suggestions will be greatly helpful.</p>
<p>Thanks,<br />
P.Prasad</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/receiving-journal-entries/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>iSeries performance question</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/iseries-performance-question/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/iseries-performance-question/#comments</comments>
		<pubDate>Mon, 20 Jun 2005 13:26:08 +0000</pubDate>
		<dc:creator>Dushan</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[Performance/Tuning]]></category>
		<category><![CDATA[RPG]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[WebSphere Studio]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hello everybody, I&#8217;m trying to figure out the best way to count the number of records matching specified criteria in large PF. (The file has over 50 million records currently and with some purging we hope to bring it down to around 20 mil.) Anyway, I created the (SQL) view: create view largePF99 ( field1, [...]]]></description>
				<content:encoded><![CDATA[<p>Hello everybody,</p>
<p>I&#8217;m trying to figure out the best way to count the number of records matching specified criteria in large PF. (The file has over 50 million records currently and with some purging we hope to bring it down to around 20 mil.)</p>
<p>Anyway, I created the (SQL) view:<br />
create view largePF99<br />
     ( field1, field2, field3, count )<br />
    as select fldx,<br />
              fldy,<br />
              substr( fldz,120,10 ),<br />
              count( * )<br />
         from largePF<br />
        group by fldx,<br />
                 fldy,<br />
                 substr( fldz,120,10 )</p>
<p>I then declared a cursor for the view in my RPGLE pgm, as I&#8217;ll need multiple rows within this view to get the count I ultimately want.</p>
<p>The problem (as I&#8217;m sure you&#8217;ve already worked out) is that the *PGM runs runs for ages. Am I better off reading the base file in good old RPG or is there any other way I can improve this?</p>
<p>Thanks in advance.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/iseries-performance-question/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>capture PLC-data in our LAN</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/capture-plc-data-in-our-lan/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/capture-plc-data-in-our-lan/#comments</comments>
		<pubDate>Fri, 17 Jun 2005 07:35:44 +0000</pubDate>
		<dc:creator>Hahajokes</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[i5]]></category>
		<category><![CDATA[iSeries]]></category>
		<category><![CDATA[OS/400]]></category>
		<category><![CDATA[PC/Windows Connectivity]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[TCP]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[UDP]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Our PLC-vendor is going to provide us collected PLC-data on a server in our LAN. Are sockets (port higher then 1024) the best way to do this? As we are AS/400-minded people, will FTP resolve this with the same performance? Or are there other possibilities? Please, please, give us some guidelines.]]></description>
				<content:encoded><![CDATA[<p>Our PLC-vendor is going to provide us collected PLC-data on a server in our LAN. Are sockets (port higher then 1024) the best way to do this? As we are AS/400-minded people, will FTP resolve this with the same performance? Or are there other possibilities? Please, please, give us some guidelines.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/capture-plc-data-in-our-lan/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/18 queries in 0.034 seconds using memcached
Object Caching 1082/1171 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 17:29:31 -->