 




<?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: Automaticall Refresh Display (COBOL)</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/automaticall-refresh-display-cobol/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/automaticall-refresh-display-cobol/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 19:29:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: ksc</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/automaticall-refresh-display-cobol/#comment-73683</link>
		<dc:creator>ksc</dc:creator>
		<pubDate>Wed, 10 Feb 2010 21:49:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-73683</guid>
		<description><![CDATA[I have a CL and RPG working (returns to the program after the screen times out).  But just can not get the COBOL to work.  All of the code we want this to work in is COBOL.
The program displays the screen but never times out in the read statement.

I have the INVITE in the DDS
&lt;pre&gt;
       File-Control.

           select screenFile
               assign to workstation-POCTOSCS5-si
               organization is transaction
               access mode is dynamic
               relative key is subf1-pos
               file status is screenFileStatus
               control-area is ds-Control-Area.

       Data Division.

       File Section.

       fd  screenFile.
       01  screenRec.
           05  filler               pic x(2500).  
&lt;/pre&gt;


&lt;pre&gt;
           open i-o screenFile
           .
           write screenRec
               from POCSCR5A
               format is &quot;POCSCR5A&quot;
           end-Write
           .

           read screenFile
               into POCSCR5A
               format is &quot;POCSCR5A&quot;
               at end
                   continue
           end-read
           .  
&lt;/pre&gt;

Thanks]]></description>
		<content:encoded><![CDATA[<p>I have a CL and RPG working (returns to the program after the screen times out).  But just can not get the COBOL to work.  All of the code we want this to work in is COBOL.<br />
The program displays the screen but never times out in the read statement.</p>
<p>I have the INVITE in the DDS</p>
<pre>
       File-Control.

           select screenFile
               assign to workstation-POCTOSCS5-si
               organization is transaction
               access mode is dynamic
               relative key is subf1-pos
               file status is screenFileStatus
               control-area is ds-Control-Area.

       Data Division.

       File Section.

       fd  screenFile.
       01  screenRec.
           05  filler               pic x(2500).  
</pre>
<pre>
           open i-o screenFile
           .
           write screenRec
               from POCSCR5A
               format is "POCSCR5A"
           end-Write
           .

           read screenFile
               into POCSCR5A
               format is "POCSCR5A"
               at end
                   continue
           end-read
           .  
</pre>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/automaticall-refresh-display-cobol/#comment-73641</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 09 Feb 2010 22:15:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-73641</guid>
		<description><![CDATA[You do it essentially the same way in COBOL as in CL or RPG. AFAIK, the only notable difference is that CL has SNDRCVF and RPG has EXFMT, where COBOL requires a separate WRITE followed by a READ.

What are you having trouble with?

Tom]]></description>
		<content:encoded><![CDATA[<p>You do it essentially the same way in COBOL as in CL or RPG. AFAIK, the only notable difference is that CL has SNDRCVF and RPG has EXFMT, where COBOL requires a separate WRITE followed by a READ.</p>
<p>What are you having trouble with?</p>
<p>Tom</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 3/10 queries in 0.038 seconds using memcached
Object Caching 281/287 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 19:34:48 -->