<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:annotate="http://purl.org/rss/1.0/modules/annotate/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<!--
	This feed generated for Anonymous
	More info at http://naklon.info/rss/about.htm
-->
<channel>
<title>IBMMAINFRAMES.com - IBM Mainframe Support Forums</title>
<link>http://ibmmainframes.com/</link>
<description>Mainframe Application Programming Development Solutions</description>
<managingEditor>dontreply@ibmmainframes.com</managingEditor>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>RSS Feed 2.2.4</generator>
<language>en</language>
<lastBuildDate>Wed, 14 May 2008 23:21:12 GMT</lastBuildDate>
<image>
	<url>http://ibmmainframes.com/thl217.jpg</url>
	<title>IBMMAINFRAMES.com - IBM Mainframe Support Forums</title>
	<link>http://ibmmainframes.com/</link>
	<width>122</width>
	<height>56</height>
</image>
<item>
<title>JCL :: RE: need details on return code</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132800#132800</link>
<pubDate>Wed, 14 May 2008 23:20:30 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132800#132800</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=47818&quot; target=&quot;_blank&quot;&gt;CICS Guy&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 4:50 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;gcicchet wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;why have a job submit another 2 jobs ? Why not submit the real job and if rc of 0 then submit the next job.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;That sounds like &quot;there is no solution apart from scheduler&quot;.......&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>CICS Guy</dc:creator>
<dc:subject>JCL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132674#132674" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132800</comments>
</item>
<item>
<title>TSO/ISPF :: RE: VPUT of Lower Case data in REXX going to Upper Case in Panel</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132799#132799</link>
<pubDate>Wed, 14 May 2008 23:17:31 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132799#132799</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=26701&quot; target=&quot;_blank&quot;&gt;gcicchet&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 4:47 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hi Pedro,
&lt;br /&gt;

&lt;br /&gt;
  can you please explain :-&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;2. If you want your users to be able the jump from your panel (for example, typing '=3.4' and pressing Enter), I think the input field needs to be preceded by two equal sign and a greater than sign: '==&amp;gt;_field'.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Why does it need two equal sign and greater than sign, isn't this just TEXT ?
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Gerry&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>gcicchet</dc:creator>
<dc:subject>TSO/ISPF</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132385#132385" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132799</comments>
</item>
<item>
<title>JCL :: RE: need details on return code</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132798#132798</link>
<pubDate>Wed, 14 May 2008 23:02:15 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132798#132798</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=26701&quot; target=&quot;_blank&quot;&gt;gcicchet&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 4:32 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hi,
&lt;br /&gt;
why have a job submit another 2 jobs ? Why not submit the real job and if rc of 0 then submit the next job.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Gerry&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>gcicchet</dc:creator>
<dc:subject>JCL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132674#132674" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132798</comments>
</item>
<item>
<title>Mainframe COBOL :: RE: Cobol XML-PARSE (') Problem</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132797#132797</link>
<pubDate>Wed, 14 May 2008 22:15:17 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132797#132797</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=45664&quot; target=&quot;_blank&quot;&gt;stodolas&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 3:45 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
What does your parse code look like?&lt;br /&gt;_________________&lt;br /&gt;-Steve&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>stodolas</dc:creator>
<dc:subject>Mainframe COBOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=131399#131399" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132797</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: Finding source of REXX code</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132796#132796</link>
<pubDate>Wed, 14 May 2008 21:48:05 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132796#132796</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=49814&quot; target=&quot;_blank&quot;&gt;rohitsir&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 3:18 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;it could be a load module as previously mentioned, try typing LPA in ISRDDN before searching for the member. &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
I tried looking into LPALIB libraries. I don't have access to all the libraries. That utility might be in one of these libraries.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;If this is the module/code that allows you to edit vsam files directly, i suspect that the code may be assembler. . .&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Utility opens up vsam in browse mode only.&lt;br /&gt;_________________&lt;br /&gt;Rohit&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>rohitsir</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=131113#131113" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132796</comments>
</item>
<item>
<title>IMS DB/DC :: Can I be accessing IMS database with VSAM commands?</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132795#132795</link>
<pubDate>Wed, 14 May 2008 21:36:51 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132795#132795</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=62978&quot; target=&quot;_blank&quot;&gt;Pankaj Gupta&lt;/a&gt;&lt;br /&gt;
Subject: Can I be accessing IMS database with VSAM commands?&lt;br /&gt;
Posted: Thu May 15, 2008 3:06 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello, I am IMS Cobol programmer.  I am not understanding exactly CBLTDLI but why do I need using this?  IMS database I am thinking is vsam files so can I be using cobol vsam file access instead?  It is not working when I am trying.  I thanking you all.&lt;br /&gt;_________________&lt;br /&gt;Confident coding is being excellent&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Pankaj Gupta</dc:creator>
<dc:subject>IMS DB/DC</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132795#132795" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132795</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: Finding source of REXX code</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132794#132794</link>
<pubDate>Wed, 14 May 2008 21:31:33 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132794#132794</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=49814&quot; target=&quot;_blank&quot;&gt;rohitsir&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 3:01 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Utility: BR
&lt;br /&gt;

&lt;br /&gt;
To browse files by pointing cursor to the dataset name and typing BR at command line and pressing enter.&lt;br /&gt;_________________&lt;br /&gt;Rohit&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>rohitsir</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=131113#131113" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132794</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: Parse a folder path, seperating by each folder</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132793#132793</link>
<pubDate>Wed, 14 May 2008 20:44:33 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132793#132793</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=2122&quot; target=&quot;_blank&quot;&gt;Ramya Arun&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: Parse a folder path, seperating by each folder&lt;br /&gt;
Posted: Thu May 15, 2008 2:14 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hi Patrick,
&lt;br /&gt;

&lt;br /&gt;
I just tried your code and it worked fine for me:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;/* REXX */&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say &amp;quot;Enter path name&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
pull path&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
slash = '\'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
parse value path with &amp;#40;slash&amp;#41; fname0 &amp;#40;slash&amp;#41; fname1 &amp;#40;slash&amp;#41; fname2,
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#40;slash&amp;#41; fname3 &amp;#40;slash&amp;#41; fname4 &amp;#40;slash&amp;#41; fname5 &amp;#40;slash&amp;#41; fname6,&amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#40;slash&amp;#41; fname7 &amp;#40;slash&amp;#41; fname8 &amp;#40;slash&amp;#41; fname9 &amp;#40;slash&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
When I executed the above code, I got:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp;Enter path name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
\\ROOT\WRKGRP\IT DEVELOPMENT\_INDIVIDUAL FOLDERS
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp;ROOT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp;WRKGRP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp;IT DEVELOPMENT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp;_INDIVIDUAL FOLDERS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp;***&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;_________________&lt;br /&gt;Regards,
&lt;br /&gt;
Ramya&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Ramya Arun</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132779#132779" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132793</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: Parse a folder path, seperating by each folder</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132792#132792</link>
<pubDate>Wed, 14 May 2008 20:41:27 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132792#132792</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=28876&quot; target=&quot;_blank&quot;&gt;Pedro&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: Parse a folder path, seperating by each folder&lt;br /&gt;
Posted: Thu May 15, 2008 2:11 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
also, I question the use of UPPER in the parse statement.  I think it is case sensitive.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Pedro</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132779#132779" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132792</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: Parse a folder path, seperating by each folder</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132791#132791</link>
<pubDate>Wed, 14 May 2008 20:40:31 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132791#132791</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=34671&quot; target=&quot;_blank&quot;&gt;dick scherrer&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 2:10 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello Patrick and welcome to the forums,
&lt;br /&gt;

&lt;br /&gt;
You might try something i'd call a pseudo-blank - a keyboard character that would not ever appear in the string, and would be replaced by an x'40' &lt;span style=&quot;font-style: italic&quot;&gt;after&lt;/span&gt; the string was broken into the component fields. Things like ~ | ! come to mind as they aren't as likely to be used in designed folder names (seen a few of these that were system generated, but not admin-designed).&lt;br /&gt;_________________&lt;br /&gt;Hope this helps,
&lt;br /&gt;

&lt;br /&gt;
d.sch.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dick scherrer</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132779#132779" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132791</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: Parse a folder path, seperating by each folder</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132790#132790</link>
<pubDate>Wed, 14 May 2008 20:39:23 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132790#132790</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=28876&quot; target=&quot;_blank&quot;&gt;Pedro&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: Parse a folder path, seperating by each folder&lt;br /&gt;
Posted: Thu May 15, 2008 2:09 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Remove the dot at the end of 
&lt;br /&gt;

&lt;br /&gt;
Parse Upper Arg path .&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Pedro</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132779#132779" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132790</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: Parse a folder path, seperating by each folder</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132789#132789</link>
<pubDate>Wed, 14 May 2008 20:18:20 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132789#132789</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=60173&quot; target=&quot;_blank&quot;&gt;Patrick McGhee&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 1:48 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Thank you for the quick reply!
&lt;br /&gt;

&lt;br /&gt;
Although I didn't recognize it a first I understand what you are saying. However, even if I put the string in quotes it resolves to the same thing. I am invoking REXX through batch JCL passing in the path name. I would like to pass it in through the JCL to keep from hard-coding it in the REXX.
&lt;br /&gt;

&lt;br /&gt;
I understand the complexities with spaces in folder path names but this is something that cannot change. There are spaces in the folder names on our production servers so we have to code for it.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Thanks again,
&lt;br /&gt;
Patrick&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Patrick McGhee</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132779#132779" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132789</comments>
</item>
<item>
<title>Other Mainframe Topics :: RE: Mainframe MIPS Reduction</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132788#132788</link>
<pubDate>Wed, 14 May 2008 19:39:38 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132788#132788</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=34671&quot; target=&quot;_blank&quot;&gt;dick scherrer&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 1:09 am (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello,
&lt;br /&gt;

&lt;br /&gt;
You might consider OMEGAMON (Tivoli).
&lt;br /&gt;

&lt;br /&gt;
There are also multiple products from Computer Associates. Detector (for apps using db2 primarily) and SYSVIEW.&lt;br /&gt;_________________&lt;br /&gt;Hope this helps,
&lt;br /&gt;

&lt;br /&gt;
d.sch.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dick scherrer</dc:creator>
<dc:subject>Other Mainframe Topics</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132447#132447" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132788</comments>
</item>
<item>
<title>Mainframe COBOL :: RE: how to convert character to numeric data type in cobol</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132787#132787</link>
<pubDate>Wed, 14 May 2008 18:02:27 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132787#132787</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=34671&quot; target=&quot;_blank&quot;&gt;dick scherrer&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 11:32 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello,
&lt;br /&gt;

&lt;br /&gt;
If you have already verified that the data field has a valid value, a simple REDEFINES will give you the 9(8) you want.&lt;br /&gt;_________________&lt;br /&gt;Hope this helps,
&lt;br /&gt;

&lt;br /&gt;
d.sch.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dick scherrer</dc:creator>
<dc:subject>Mainframe COBOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132748#132748" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132787</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: Do we have conditional sorting in DFSORT</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132785#132785</link>
<pubDate>Wed, 14 May 2008 17:58:27 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132785#132785</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=2542&quot; target=&quot;_blank&quot;&gt;Frank Yaeger&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 11:28 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Amar,
&lt;br /&gt;

&lt;br /&gt;
The INCLUDE and OMIT statements can be used with SORT, MERGE and COPY.
&lt;br /&gt;

&lt;br /&gt;
This Figure may be helpful - it gives an overview of the DFSORT functions available with SORT, MERGE and COPY and the order in which they are processed:
&lt;br /&gt;

&lt;br /&gt;
&lt;a href=&quot;http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA20/1.5.4?DT=20060615185603#FIGSTMTSEQ&quot; target=&quot;_blank&quot;&gt;http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA20/1.5.4?DT=20060615185603#FIGSTMTSEQ&lt;/a&gt;&lt;br /&gt;_________________&lt;br /&gt;Frank Yaeger - DFSORT Development Team  (IBM) - &lt;a href=&quot;mailto:yaeger@us.ibm.com&quot;&gt;yaeger@us.ibm.com&lt;/a&gt;             
&lt;br /&gt;
Specialties: PARSE, JFY, SQZ, ICETOOL, IFTHEN, OVERLAY, Symbols, Migration         
&lt;br /&gt;
=&gt; DFSORT/MVS is on the Web at &lt;a href=&quot;http://www.ibm.com/storage/dfsort/&quot; target=&quot;_blank&quot;&gt;http://www.ibm.com/storage/dfsort/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Frank Yaeger</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132780#132780" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132785</comments>
</item>
<item>
<title>Mainframe COBOL :: RE: how to convert character to numeric data type in cobol</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132784#132784</link>
<pubDate>Wed, 14 May 2008 17:55:56 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132784#132784</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=40579&quot; target=&quot;_blank&quot;&gt;krishnasaikiah&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: how to convert character to numeric data type in c&lt;br /&gt;
Posted: Wed May 14, 2008 11:25 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hi all,
&lt;br /&gt;
I have typed my column name as time..it is not time it is date column...
&lt;br /&gt;
i need to convert my date field which is x(8)...CCYYMMDD..to 9(8) CCYYMMDD....
&lt;br /&gt;
I hope now it is clear to alll
&lt;br /&gt;
Thanks in advance
&lt;br /&gt;
krishna&lt;br /&gt;_________________&lt;br /&gt;Krishna Saikiah&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>krishnasaikiah</dc:creator>
<dc:subject>Mainframe COBOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132748#132748" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132784</comments>
</item>
<item>
<title>JCL :: RE: How to get a future date with Syncsort</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132783#132783</link>
<pubDate>Wed, 14 May 2008 17:53:13 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132783#132783</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=34671&quot; target=&quot;_blank&quot;&gt;dick scherrer&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: How to get a future date with Syncsort&lt;br /&gt;
Posted: Wed May 14, 2008 11:23 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Sorry, its my mistake. &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;Not to worry - we all do that from time to time &lt;img src=&quot;http://ibmmainframes.com/images/smiles/icon_smile.gif&quot; alt=&quot;icon_smile.gif&quot; border=&quot;0&quot; /&gt; 
&lt;br /&gt;

&lt;br /&gt;
Thank you for posting that it is now working for you.
&lt;br /&gt;

&lt;br /&gt;
d&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dick scherrer</dc:creator>
<dc:subject>JCL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=68416#68416" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132783</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: Do we have conditional sorting in DFSORT</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132782#132782</link>
<pubDate>Wed, 14 May 2008 17:09:35 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132782#132782</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=40616&quot; target=&quot;_blank&quot;&gt;enrico-sorichetti&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: Do we have conditional sorting in DFSORT&lt;br /&gt;
Posted: Wed May 14, 2008 10:39 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Yes,
&lt;br /&gt;
search the forum for the samples where only the detail record are sorted&lt;br /&gt;_________________&lt;br /&gt;Regards
&lt;br /&gt;
enrico sorichetti
&lt;br /&gt;
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
&lt;br /&gt;
so that I am sure that the information requested can be reached with a very small effort :-)&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>enrico-sorichetti</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132780#132780" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132782</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: Parse a folder path, seperating by each folder</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132781#132781</link>
<pubDate>Wed, 14 May 2008 17:07:09 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132781#132781</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=40616&quot; target=&quot;_blank&quot;&gt;enrico-sorichetti&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: Parse a folder path, seperating by each folder&lt;br /&gt;
Posted: Wed May 14, 2008 10:37 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
it' s not the rexx that is not working, 
&lt;br /&gt;
it' s the invocation format that' s wrong 
&lt;br /&gt;
the tokn You are trying to pass is being resolved as two parameters 
&lt;br /&gt;

&lt;br /&gt;
IIRC try quoting the invocation parameter
&lt;br /&gt;

&lt;br /&gt;
but as a general consideration it is not a safe practice to have path names with embedded blanks&lt;br /&gt;_________________&lt;br /&gt;Regards
&lt;br /&gt;
enrico sorichetti
&lt;br /&gt;
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
&lt;br /&gt;
so that I am sure that the information requested can be reached with a very small effort :-)&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>enrico-sorichetti</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132779#132779" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132781</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: Do we have conditional sorting in DFSORT</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132780#132780</link>
<pubDate>Wed, 14 May 2008 16:54:37 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132780#132780</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=29609&quot; target=&quot;_blank&quot;&gt;V S Amarendra Reddy&lt;/a&gt;&lt;br /&gt;
Subject: Do we have conditional sorting in DFSORT&lt;br /&gt;
Posted: Wed May 14, 2008 10:24 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hi
&lt;br /&gt;

&lt;br /&gt;
We have coniditional copying like INCLUDE and OMIT which will copy a set of records based on that condition. In the same way can we have the same option for SORT too like sort only those records when they meet certain criteria.Means the same INCLUDE and OMIT.
&lt;br /&gt;

&lt;br /&gt;
Does this makes meaningful??
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Regrds
&lt;br /&gt;
Amar&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>V S Amarendra Reddy</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132780#132780" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132780</comments>
</item>
<item>
<title>CLIST &amp; REXX :: Parse a folder path, seperating by each folder</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132779#132779</link>
<pubDate>Wed, 14 May 2008 16:50:25 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132779#132779</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=60173&quot; target=&quot;_blank&quot;&gt;Patrick McGhee&lt;/a&gt;&lt;br /&gt;
Subject: Parse a folder path, seperating by each folder&lt;br /&gt;
Posted: Wed May 14, 2008 10:20 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello everybody! Thanks for all the help and insight that I have taken from this site to date.
&lt;br /&gt;

&lt;br /&gt;
I'm having a difficult time trying to parse a server path string into variables for each folder. I am running into problems where there is a space in the folder name.
&lt;br /&gt;

&lt;br /&gt;
For instance: I would like to take \\root\name 1\name 2\name 3 and store each folder name into a variable like this:
&lt;br /&gt;

&lt;br /&gt;
fname1 = root
&lt;br /&gt;
fname2 = name 1
&lt;br /&gt;
fname3 = name 2
&lt;br /&gt;
fname4 = name 3
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Here is the code that I am working with:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
/* REXX */&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
Parse Upper Arg path .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
slash = '\'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
parse value path with &amp;#40;slash&amp;#41; fname0 &amp;#40;slash&amp;#41; fname1 &amp;#40;slash&amp;#41; fname2,
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#40;slash&amp;#41; fname3 &amp;#40;slash&amp;#41; fname4 &amp;#40;slash&amp;#41; fname5 &amp;#40;slash&amp;#41; fname6,&amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#40;slash&amp;#41; fname7 &amp;#40;slash&amp;#41; fname8 &amp;#40;slash&amp;#41; fname9 &amp;#40;slash&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
say fname5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
With input as:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
\\ROOT\WRKGRP\IT DEVELOPMENT\_INDIVIDUAL FOLDERS
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Here is my Ouput:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
READY&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
%TESTREXX \\ROOT\WRKGRP\IT DEVELOPMENT\_INDIVIDUAL FOLDERS
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
ROOT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
WRKGRP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
IT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Any help would be greatly appreciated.
&lt;br /&gt;
Man I hope I didn't break any forums rules on my first post!
&lt;br /&gt;

&lt;br /&gt;
Thanks,
&lt;br /&gt;
Patrick&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Patrick McGhee</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132779#132779" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132779</comments>
</item>
<item>
<title>JCL :: RE: How to get a future date with Syncsort</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132778#132778</link>
<pubDate>Wed, 14 May 2008 16:47:28 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132778#132778</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=45509&quot; target=&quot;_blank&quot;&gt;Shanthi Jayaraman&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 10:17 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;dick scherrer wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Hello,
&lt;br /&gt;

&lt;br /&gt;
Re-run your test with the input data in the correct columns. The code tests beginning in col1, but you put the data beginning in col3.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Sorry, its my mistake.
&lt;br /&gt;
This works as well.
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;//SORTIN&amp;nbsp; &amp;nbsp;DD *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
20080510&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
20080511&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
20080512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
20080515&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
20080516&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
/*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//SORTOUT&amp;nbsp; DD SYSOUT=*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
/*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//SYSIN&amp;nbsp; &amp;nbsp; DD *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; SORT FIELDS=COPY&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; INCLUDE COND=&amp;#40;1,8,CH,LE,&amp;amp;DATE1-3&amp;#41;
&lt;br /&gt;
/*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;********************************* TOP OF DATA **********************************
&lt;br /&gt;
20080510&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
20080511&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
20080512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
******************************** BOTTOM OF DATA ********************************&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Shanthi Jayaraman</dc:creator>
<dc:subject>JCL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=68416#68416" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132778</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: How do i close and reopen a file in the same rexx</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132777#132777</link>
<pubDate>Wed, 14 May 2008 16:43:00 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132777#132777</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=40616&quot; target=&quot;_blank&quot;&gt;enrico-sorichetti&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: How do i close and reopen a file in the same rexx&lt;br /&gt;
Posted: Wed May 14, 2008 10:13 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
what about looking at the manual ??
&lt;br /&gt;
&lt;span style=&quot;text-decoration: underline&quot;&gt;&lt;a href=&quot;http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ3A320/10.3?SHELF=IKJOSE20&amp;amp;DT=20000113164209&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ3A320/10.3?SHELF=IKJOSE20&amp;amp;DT=20000113164209&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;_________________&lt;br /&gt;Regards
&lt;br /&gt;
enrico sorichetti
&lt;br /&gt;
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
&lt;br /&gt;
so that I am sure that the information requested can be reached with a very small effort :-)&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>enrico-sorichetti</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132751#132751" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132777</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: Compare VSAM and GDG file and create new file.</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132776#132776</link>
<pubDate>Wed, 14 May 2008 16:40:53 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132776#132776</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=55601&quot; target=&quot;_blank&quot;&gt;Skolusu&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: Compare VSAM and GDG file and create new file.&lt;br /&gt;
Posted: Wed May 14, 2008 10:10 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Nath,
&lt;br /&gt;

&lt;br /&gt;
 I still need some clarification.
&lt;br /&gt;

&lt;br /&gt;
1. what is the cobol definitions for keyfild1,keyfiled2,keyfield3 in vsam file and what are postions of these fields in the vsam file. 
&lt;br /&gt;

&lt;br /&gt;
2. Can the combo of keyfild1,keyfiled2,keyfield3 in the VSAM file have dups? If it has then from which dup record do we need to be pick the required fields data?
&lt;br /&gt;

&lt;br /&gt;
3. what is the cobol definitions for keyfild1,keyfiled2,keyfield3 in GDG file and what are postions of these fields in the GDG file?
&lt;br /&gt;

&lt;br /&gt;
4. Can the combo of keyfild1,keyfiled2,keyfield3 in the GDG file have dups? if so do you need the duplicates to be retained?
&lt;br /&gt;

&lt;br /&gt;
5. Do you want the output file to be a VB file or FB file?
&lt;br /&gt;

&lt;br /&gt;
Kolusu&lt;br /&gt;_________________&lt;br /&gt;Kolusu - DFSORT Development Team (IBM) 
&lt;br /&gt;
DFSORT is on the Web at: 
&lt;br /&gt;
&lt;a href=&quot;http://www.ibm.com/storage/dfsort/&quot; target=&quot;_blank&quot;&gt;www.ibm.com/storage/dfsort/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Skolusu</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132451#132451" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132776</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: How do i close and reopen a file in the same rexx</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132775#132775</link>
<pubDate>Wed, 14 May 2008 16:34:54 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132775#132775</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=28876&quot; target=&quot;_blank&quot;&gt;Pedro&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: How do i close and reopen a file in the same rexx&lt;br /&gt;
Posted: Wed May 14, 2008 10:04 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
In:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;TEMP2&amp;#41; DA&amp;#40;'TEST.MASRS.REXX.TEMP1'&amp;#41; &amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
SAY 'RC' RC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;EXECIO * DISKR TEMP1 &amp;#40;STEM JOBDET. FINIS&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
SAY 'RC' RC 
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
You are allocating TEMP2 but trying to read TEMP1.  I think you should use the same file name in both cases.  What are the return codes?
&lt;br /&gt;
 
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
But if I understand what you are doing, I do not think you need to write to TEMP1 at all.  It looks like you are combining a bunch of lines into one big stem variable by writing to the file then reading them back in.  I think you can just gather them into a stem
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
drop jobdet.
&lt;br /&gt;
jobdet.0 = 0 /* set to zero early in the program*/
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
DO J= 1 TO OUT.0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;STR = SUBSTR&amp;#40;OUT.J,171,2&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;IF STR = &amp;quot;CC&amp;quot; THEN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;DO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; jobdet.0 = jobdet.0 +1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; line_count = jobdet.0
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; jobdet.line_count = OUT.J&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;END&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
END 
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Pedro</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132751#132751" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132775</comments>
</item>
<item>
<title>JCL :: RE: How to get a future date with Syncsort</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132774#132774</link>
<pubDate>Wed, 14 May 2008 16:29:55 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132774#132774</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=45509&quot; target=&quot;_blank&quot;&gt;Shanthi Jayaraman&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:59 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;arcvns wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Hi all,
&lt;br /&gt;

&lt;br /&gt;
My earlier post was to compare a date field with an offset of current date. If you are trying to create a future date (say current date+1 ), try out this synctool job.
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;//STEP1&amp;nbsp; EXEC PGM=SYNCTOOL
&lt;br /&gt;
//TOOLMSG&amp;nbsp; DD SYSOUT=*&amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//DFSMSG&amp;nbsp; &amp;nbsp;DD SYSOUT=*&amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
//INFILE&amp;nbsp; &amp;nbsp;DD *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
ABC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//TEMP&amp;nbsp; &amp;nbsp; &amp;nbsp;DD DSN=&amp;amp;&amp;amp;T1,DISP=&amp;#40;,PASS&amp;#41;,SPACE=&amp;#40;TRK,&amp;#40;5,5&amp;#41;&amp;#41;,UNIT=SYSDA
&lt;br /&gt;
//OUTFILE&amp;nbsp; DD SYSOUT=*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
//TOOLIN&amp;nbsp; &amp;nbsp;DD *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
COPY FROM&amp;#40;INFILE&amp;#41; TO&amp;#40;TEMP&amp;#41;&amp;nbsp; &amp;nbsp; USING&amp;#40;CTL1&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
COPY FROM&amp;#40;TEMP&amp;#41;&amp;nbsp; &amp;nbsp;TO&amp;#40;OUTFILE&amp;#41; USING&amp;#40;CTL2&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//CTL1CNTL DD *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;INREC FIELDS=&amp;#40;1,3,&amp;amp;DATE3&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;SORT FIELDS=COPY&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
/*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
//CTL2CNTL DD *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;INREC FIELDS=&amp;#40;1,3,6,5,ZD,ADD,+100001,TO=PD,LENGTH=4&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;SORT FIELDS=COPY&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;OUTREC FIELDS=&amp;#40;1,3,4,4,DT1&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
/*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
You can increment the value '+100001'  in order to get different offsets.
&lt;br /&gt;
e.g., '+100002' to get  current date + 2.
&lt;br /&gt;

&lt;br /&gt;
Thanks,
&lt;br /&gt;
Arun&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Dear Arun,
&lt;br /&gt;

&lt;br /&gt;
I've tried this code and it works for me. I am very sorry I was not able to get back on this earlier.
&lt;br /&gt;

&lt;br /&gt;
Actually, I have created a COBOL pgm as a solution last week.
&lt;br /&gt;
But I am still eager to find out solution using SORT utilities and your code has helped me much, in case in future there is similar requirement, I can use utilities instead of creating programs.
&lt;br /&gt;

&lt;br /&gt;
Once again, thank you very much for the knowledge...&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Shanthi Jayaraman</dc:creator>
<dc:subject>JCL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=68416#68416" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132774</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: Finding whether file is empty or not - with few restrictions</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132773#132773</link>
<pubDate>Wed, 14 May 2008 16:28:28 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132773#132773</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=2542&quot; target=&quot;_blank&quot;&gt;Frank Yaeger&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:58 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Yes, the INCLUDE for 'DAT' takes care of that. It only includes data records, not the header and trailer records, so the test for EMPTY is done against just the data records.&lt;br /&gt;_________________&lt;br /&gt;Frank Yaeger - DFSORT Development Team  (IBM) - &lt;a href=&quot;mailto:yaeger@us.ibm.com&quot;&gt;yaeger@us.ibm.com&lt;/a&gt;             
&lt;br /&gt;
Specialties: PARSE, JFY, SQZ, ICETOOL, IFTHEN, OVERLAY, Symbols, Migration         
&lt;br /&gt;
=&gt; DFSORT/MVS is on the Web at &lt;a href=&quot;http://www.ibm.com/storage/dfsort/&quot; target=&quot;_blank&quot;&gt;http://www.ibm.com/storage/dfsort/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Frank Yaeger</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132741#132741" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132773</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: Finding whether file is empty or not - with few restrictions</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132772#132772</link>
<pubDate>Wed, 14 May 2008 16:22:42 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132772#132772</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=34671&quot; target=&quot;_blank&quot;&gt;dick scherrer&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:52 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello,
&lt;br /&gt;

&lt;br /&gt;
I believe the issue is when there are header and/or trailer records, but no data records. 
&lt;br /&gt;

&lt;br /&gt;
The file is &quot;logically&quot; empty even though it has hdr/trlr records.&lt;br /&gt;_________________&lt;br /&gt;Hope this helps,
&lt;br /&gt;

&lt;br /&gt;
d.sch.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dick scherrer</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132741#132741" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132772</comments>
</item>
<item>
<title>JCL :: RE: How to get a future date with Syncsort</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132771#132771</link>
<pubDate>Wed, 14 May 2008 16:19:17 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132771#132771</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=34671&quot; target=&quot;_blank&quot;&gt;dick scherrer&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:49 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello,
&lt;br /&gt;

&lt;br /&gt;
Re-run your test with the input data in the correct columns. The code tests beginning in col1, but you put the data beginning in col3.&lt;br /&gt;_________________&lt;br /&gt;Hope this helps,
&lt;br /&gt;

&lt;br /&gt;
d.sch.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dick scherrer</dc:creator>
<dc:subject>JCL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=68416#68416" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132771</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: reading sequential file...using tso command</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132770#132770</link>
<pubDate>Wed, 14 May 2008 16:12:13 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132770#132770</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=28876&quot; target=&quot;_blank&quot;&gt;Pedro&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: reading sequential file...using tso command&lt;br /&gt;
Posted: Wed May 14, 2008 9:42 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
To read a file, use ALLOC and EXECIO: 
&lt;br /&gt;
 
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp;
&lt;br /&gt;
Address TSO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;INFILE&amp;#41; DSN&amp;#40;'my.seq.dsn'&amp;#41; SHR REU&amp;quot;&amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;EXECIO * DISKR INFILE &amp;#40; FINIS STEM LINES.&amp;quot; 
&lt;br /&gt;
&amp;quot;FREE F&amp;#40;INFILE&amp;#41;&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt; 
&lt;br /&gt;
  
&lt;br /&gt;
In the example, a stem variable, lines., will contain the records. 
&lt;br /&gt;
 
&lt;br /&gt;
Put your program in SYSPROC or SYSEXEC concatenation.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Pedro</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132618#132618" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132770</comments>
</item>
<item>
<title>JCL :: RE: How to get a future date with Syncsort</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132769#132769</link>
<pubDate>Wed, 14 May 2008 16:11:42 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132769#132769</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=45509&quot; target=&quot;_blank&quot;&gt;Shanthi Jayaraman&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:41 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Dear Dick &amp;amp; Arun,
&lt;br /&gt;

&lt;br /&gt;
I've tried the below code and it looks like it didn't work in my system.
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;//S020&amp;nbsp; &amp;nbsp;EXEC PGM=ICEMAN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//SYSPRINT DD SYSOUT=*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//SYSOUT&amp;nbsp; &amp;nbsp;DD SYSOUT=*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//SORTIN&amp;nbsp; &amp;nbsp;DD *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; 20080510&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; 20080511&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; 20080512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; 20080515&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; 20080516&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
/*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//SORTOUT&amp;nbsp; DD SYSOUT=*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
/*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//SYSIN&amp;nbsp; &amp;nbsp; DD *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; SORT FIELDS=COPY&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; INCLUDE COND=&amp;#40;1,8,CH,LE,&amp;amp;DATE1-3&amp;#41;
&lt;br /&gt;
/*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Output :
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;********************************* TOP OF DATA **********************************
&lt;br /&gt;
&amp;nbsp; 20080510&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; 20080511&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; 20080512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; 20080515&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; 20080516&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
******************************** BOTTOM OF DATA ********************************&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Shanthi Jayaraman</dc:creator>
<dc:subject>JCL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=68416#68416" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132769</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: find those records having both -ve &amp; +value in binary fi</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132768#132768</link>
<pubDate>Wed, 14 May 2008 16:10:49 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132768#132768</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=42849&quot; target=&quot;_blank&quot;&gt;Ajay Baghel&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: find those records having both -ve &amp;amp; +value in&lt;br /&gt;
Posted: Wed May 14, 2008 9:40 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Thanks CICS guy and Frank. I tested it and i am getting it.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
-Ajay&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Ajay Baghel</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132199#132199" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132768</comments>
</item>
<item>
<title>TSO/ISPF :: RE: VPUT of Lower Case data in REXX going to Upper Case in Panel</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132767#132767</link>
<pubDate>Wed, 14 May 2008 16:05:21 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132767#132767</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=28876&quot; target=&quot;_blank&quot;&gt;Pedro&lt;/a&gt;&lt;br /&gt;
Subject: Reply to: VPUT of Lower Case data in REXX going to Upper Cas&lt;br /&gt;
Posted: Wed May 14, 2008 9:35 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
I am glad you were able to fix your problem.  
&lt;br /&gt;

&lt;br /&gt;
A quick comment about your panel:
&lt;br /&gt;
1. you seem to have two attribute characters '%_'  next to each other... I think you can remove the '%' that appears before your input fields.
&lt;br /&gt;

&lt;br /&gt;
2. If you want your users to be able the jump from your panel (for example, typing  '=3.4' and pressing Enter), I think the input field needs to be preceded by two equal sign and a greater than sign:  '==&amp;gt;_field'.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Pedro</dc:creator>
<dc:subject>TSO/ISPF</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132385#132385" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132767</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: Finding whether file is empty or not - with few restrictions</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132766#132766</link>
<pubDate>Wed, 14 May 2008 15:55:25 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132766#132766</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=2542&quot; target=&quot;_blank&quot;&gt;Frank Yaeger&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:25 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;i have to report the file as empty file.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
What to you mean by &quot;report the file as empty file&quot;?
&lt;br /&gt;

&lt;br /&gt;
If you want a RC=12 when the file is empty or RC=0 when it isn't empty, you can use this DFSORT/ICETOOL job:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;//S1&amp;nbsp; &amp;nbsp; EXEC&amp;nbsp; PGM=ICETOOL&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
//TOOLMSG DD SYSOUT=*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
//DFSMSG&amp;nbsp; DD SYSOUT=*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
//IN DD DSN=....&amp;nbsp; input file&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//TOOLIN DD *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
COUNT FROM&amp;#40;IN&amp;#41; EMPTY USING&amp;#40;CTL1&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//CTL1CNTL DD *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; INCLUDE COND=&amp;#40;1,3,CH,EQ,C'DAT'&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
/*
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
If you want a RC=4 instead of a RC=12, add RC4 to the COUNT operator.&lt;br /&gt;_________________&lt;br /&gt;Frank Yaeger - DFSORT Development Team  (IBM) - &lt;a href=&quot;mailto:yaeger@us.ibm.com&quot;&gt;yaeger@us.ibm.com&lt;/a&gt;             
&lt;br /&gt;
Specialties: PARSE, JFY, SQZ, ICETOOL, IFTHEN, OVERLAY, Symbols, Migration         
&lt;br /&gt;
=&gt; DFSORT/MVS is on the Web at &lt;a href=&quot;http://www.ibm.com/storage/dfsort/&quot; target=&quot;_blank&quot;&gt;http://www.ibm.com/storage/dfsort/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Frank Yaeger</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132741#132741" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132766</comments>
</item>
<item>
<title>Mainframe COBOL :: RE: how to convert character to numeric data type in cobol</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132765#132765</link>
<pubDate>Wed, 14 May 2008 15:53:32 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132765#132765</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=47818&quot; target=&quot;_blank&quot;&gt;CICS Guy&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:23 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Good catch, I didn't even think of the dataname 'time' as anything other than a dataname.....Even NUMVAL won't work......
&lt;br /&gt;
I guess we just have to wait &amp;amp; see......&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>CICS Guy</dc:creator>
<dc:subject>Mainframe COBOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132748#132748" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132765</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: Combine two files of different Lrecls</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132763#132763</link>
<pubDate>Wed, 14 May 2008 15:47:53 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132763#132763</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=2542&quot; target=&quot;_blank&quot;&gt;Frank Yaeger&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:17 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
skhorizon,
&lt;br /&gt;

&lt;br /&gt;
Here's a DFSORT/ICETOOL job that will do what you asked for.  If you have DFSORT, then you have DFSORT's ICETOOL (it has been available with DFSORT since 1991).
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
//S1&amp;nbsp; &amp;nbsp; EXEC&amp;nbsp; PGM=ICETOOL
&lt;br /&gt;
//TOOLMSG DD SYSOUT=*
&lt;br /&gt;
//DFSMSG&amp;nbsp; DD SYSOUT=*
&lt;br /&gt;
//IN1 DD DSN=...&amp;nbsp; input file1 &amp;#40;FB&amp;#41;
&lt;br /&gt;
//IN2 DD DSN=...&amp;nbsp; input file2 &amp;#40;FB&amp;#41;
&lt;br /&gt;
//T1 DD DSN=&amp;amp;&amp;amp;T1,UNIT=SYSDA,SPACE=&amp;#40;CYL,&amp;#40;5,5&amp;#41;&amp;#41;,DISP=&amp;#40;MOD,PASS&amp;#41;
&lt;br /&gt;
//OUT DD DSN=...&amp;nbsp; output file &amp;#40;FB/24&amp;#41;
&lt;br /&gt;
//TOOLIN DD *
&lt;br /&gt;
COPY FROM&amp;#40;IN1&amp;#41; TO&amp;#40;T1&amp;#41; USING&amp;#40;CTL1&amp;#41;
&lt;br /&gt;
COPY FROM&amp;#40;IN2&amp;#41; TO&amp;#40;T1&amp;#41; USING&amp;#40;CTL2&amp;#41;
&lt;br /&gt;
SPLICE FROM&amp;#40;T1&amp;#41; TO&amp;#40;OUT&amp;#41; ON&amp;#40;1,3,CH&amp;#41; WITH&amp;#40;21,4&amp;#41; KEEPNODUPS
&lt;br /&gt;
/*
&lt;br /&gt;
//CTL1CNTL DD *
&lt;br /&gt;
&amp;nbsp; INREC BUILD=&amp;#40;1,19,24&amp;#58;X&amp;#41;
&lt;br /&gt;
/*
&lt;br /&gt;
//CTL2CNTL DD *
&lt;br /&gt;
&amp;nbsp; INREC BUILD=&amp;#40;1,3,21&amp;#58;6,4&amp;#41;
&lt;br /&gt;
/*
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;_________________&lt;br /&gt;Frank Yaeger - DFSORT Development Team  (IBM) - &lt;a href=&quot;mailto:yaeger@us.ibm.com&quot;&gt;yaeger@us.ibm.com&lt;/a&gt;             
&lt;br /&gt;
Specialties: PARSE, JFY, SQZ, ICETOOL, IFTHEN, OVERLAY, Symbols, Migration         
&lt;br /&gt;
=&gt; DFSORT/MVS is on the Web at &lt;a href=&quot;http://www.ibm.com/storage/dfsort/&quot; target=&quot;_blank&quot;&gt;http://www.ibm.com/storage/dfsort/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Frank Yaeger</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132676#132676" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132763</comments>
</item>
<item>
<title>Mainframe COBOL :: RE: how to convert character to numeric data type in cobol</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132762#132762</link>
<pubDate>Wed, 14 May 2008 15:46:01 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132762#132762</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=34671&quot; target=&quot;_blank&quot;&gt;dick scherrer&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:16 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello,
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Time pic x(8) to time pic 9(8) 
&lt;br /&gt;
this is my requirement....
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;Time is often HH:MM:SS. What is in your x(8) field?
&lt;br /&gt;

&lt;br /&gt;
How will you use a time field defined as 9(8)? As an 8-digit value, time is not very useful &lt;img src=&quot;http://ibmmainframes.com/images/smiles/icon_confused.gif&quot; alt=&quot;icon_confused.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;_________________&lt;br /&gt;Hope this helps,
&lt;br /&gt;

&lt;br /&gt;
d.sch.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dick scherrer</dc:creator>
<dc:subject>Mainframe COBOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132748#132748" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132762</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: How do i close and reopen a file in the same rexx</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132761#132761</link>
<pubDate>Wed, 14 May 2008 15:43:36 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132761#132761</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=38093&quot; target=&quot;_blank&quot;&gt;rajantsr&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:13 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
This is my code.
&lt;br /&gt;

&lt;br /&gt;
I am reading the spool writting into a temp1 file. and later I read that temp1 file from top and proceed for further processing.
&lt;br /&gt;

&lt;br /&gt;
This is failing with file already open even if i free it.
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
/* REXX */&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
ADDRESS TSO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;TEMP1&amp;#41; DA&amp;#40;'TEST.MASRS.REXX.TEMP1'&amp;#41; NEW&amp;quot;,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;TRACKS SPACE&amp;#40;100,100&amp;#41; LRECL&amp;#40;250&amp;#41; RECFM&amp;#40;F,B&amp;#41; DSORG&amp;#40;PS&amp;#41;&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;INPUTF&amp;#41; DA&amp;#40;'TEST.MASRS.REXX.JOBNAME'&amp;#41; SHR&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;EXECIO * DISKR INPUTF &amp;#40;STEM JOBNAME. FINIS&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
DO I = 1 TO JOBNAME.0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;ISFIN&amp;#41; TRACKS SPACE&amp;#40;1&amp;#41; REU&amp;quot; /* USED BY SDSF */&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;ISFOUT&amp;#41; NEW DELETE REU &amp;quot;&amp;nbsp; /* USED BY SDSF */&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
QUEUE &amp;quot;SET CONFIRM OFF&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
QUEUE &amp;quot;OWNER *&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
QUEUE &amp;quot;PREFIX &amp;quot;JOBNAME.I&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
QUEUE &amp;quot;ST&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
QUEUE &amp;quot;AFD REFRESH&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
QUEUE &amp;quot;END&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
QUEUE &amp;quot;&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;quot;EXECIO * DISKW ISFIN &amp;#40;FINIS&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
PARM = &amp;quot;/ ++20,400&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
ADDRESS LINKPGM &amp;quot;SDSF PARM&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
X=OUTTRAP&amp;#40;&amp;quot;OUT.&amp;quot;&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;EXECIO * DISKR ISFOUT &amp;#40;STEM OUT. FINIS&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
X=OUTTRAP&amp;#40;&amp;quot;OFF&amp;quot;&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
DO J= 1 TO OUT.0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;STR = SUBSTR&amp;#40;OUT.J,171,2&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;IF STR = &amp;quot;CC&amp;quot; THEN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;DO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; PUSH OUT.J&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;EXECIO 1 DISKW TEMP1 &amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;END&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
END&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;quot;FREE DD&amp;#40;ISFIN,ISFOUT&amp;#41;&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
END&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;quot;EXECIO 0 DISKW TEMP1 &amp;#40;FINIS&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;quot;FREE DD&amp;#40;TEMP1&amp;#41;&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
/*****************************/&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
/*&amp;nbsp; FOR GETTING THE CPU TIME */&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
/*****************************/&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;OUTPUTF&amp;#41; DA &amp;#40;'TEST.MASRS.REXX.CPU'&amp;#41; NEW &amp;quot; ,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;TRACKS SPACE&amp;#40;100,100&amp;#41; LRECL&amp;#40;80&amp;#41; RECFM&amp;#40;F,B,A&amp;#41; DSORG&amp;#40;PS&amp;#41;&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;TEMP2&amp;#41; DA&amp;#40;'TEST.MASRS.REXX.TEMP1'&amp;#41; &amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
SAY 'RC' RC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;quot;EXECIO * DISKR TEMP1 &amp;#40;STEM JOBDET. FINIS&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
SAY 'RC' RC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
DO K = 1 TO JOBDET.0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;ISFIN&amp;#41; TRACKS SPACE&amp;#40;1&amp;#41; REU&amp;quot; /* USED BY SDSF */&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;ISFOUT&amp;#41; NEW DELETE REU &amp;quot; , /* USED BY SDSF */&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;quot;TRACKS SPACE&amp;#40;100,100&amp;#41; LRECL&amp;#40;133&amp;#41; RECFM&amp;#40;F,B,A&amp;#41; DSORG&amp;#40;PS&amp;#41;&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;quot;ALLOC F&amp;#40;TEMPPRT&amp;#41; DA&amp;#40;'TEST.MASRS.REXX.TEMP2'&amp;#41; NEW&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
P_JOBNAME = SUBSTR&amp;#40;JOBDET.K,8,8&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
P_JOBID&amp;nbsp; &amp;nbsp;= SUBSTR&amp;#40;JOBDET.K,17,8&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
P_OWNER&amp;nbsp; &amp;nbsp;= SUBSTR&amp;#40;JOBDET.K,26,8&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
P_MAXCC&amp;nbsp; &amp;nbsp;= SUBSTR&amp;#40;JOBDET.K,174,4&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
IF P_MAXCC = '0000' THEN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
DO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;SET CONFIRM OFF&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;OWNER &amp;quot; P_OWNER&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;PREFIX &amp;quot; P_JOBNAME&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;ST&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;SELECT &amp;quot; P_JOBID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;AFD REFRESH&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;FIND &amp;quot;P_JOBNAME&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;++?&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;FIND JESYSMSG&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;++S&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;PRINT FILE TEMPPRT&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;PRINT&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;PRINT CLOSE&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot;END&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; QUEUE &amp;quot; &amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;quot;EXECIO&amp;quot; QUEUED&amp;#40;&amp;#41;&amp;quot; DISKW ISFIN &amp;#40;FINIS&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; /* INPUT TO SDSF BATCH */
&lt;br /&gt;
&amp;nbsp; ADDRESS ISPEXEC &amp;quot;SELECT PGM&amp;#40;ISFAFD&amp;#41; PARM&amp;#40;'++25,80'&amp;#41;&amp;quot; /*INVOKE SDSF */
&lt;br /&gt;
&amp;nbsp; ADDRESS TSO &amp;quot;FREE F&amp;#40;ISFIN,ISFOUT,TEMPPRT&amp;#41;&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;quot;ALLOC F&amp;#40;INPDD&amp;#41; DA&amp;#40;'TEST.MASRS.REXX.TEMP'&amp;#41; SHR&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; X=OUTTRAP&amp;#40;&amp;quot;SUB.&amp;quot;&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;quot;EXECIO * DISKR INPDD &amp;#40;STEM SUB. FINIS&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; X=OUTTRAP&amp;#40;&amp;quot;OFF&amp;quot;&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; P=SUB.0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; P1 = POS&amp;#40;'CPU',SUB.P&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; CPU_TIME = SUBSTR&amp;#40;SUB.P,P1,20&amp;#41;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; PUSH P_JOBNAME ',' P_JOBID ',' P_OWNER ',' P_MAXCC ',' CPU_TIME&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;quot;EXECIO 1 DISKW OUTFIL &amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
END&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;quot;FREE DD&amp;#40;INPDD&amp;#41;&amp;quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
END&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>rajantsr</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132751#132751" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132761</comments>
</item>
<item>
<title>Mainframe COBOL :: RE: Having a problem with my search all in cobol</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132759#132759</link>
<pubDate>Wed, 14 May 2008 15:35:45 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132759#132759</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=34671&quot; target=&quot;_blank&quot;&gt;dick scherrer&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 9:05 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello Rema and welcome to the forums,
&lt;br /&gt;

&lt;br /&gt;
Why do you need to load that many table entries? What does your process actually do (beyond search a table that may not even be needed)? Are you trying to compare an external file to the table?&lt;br /&gt;_________________&lt;br /&gt;Hope this helps,
&lt;br /&gt;

&lt;br /&gt;
d.sch.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dick scherrer</dc:creator>
<dc:subject>Mainframe COBOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132721#132721" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132759</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: VSAM file empty check</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132757#132757</link>
<pubDate>Wed, 14 May 2008 15:29:58 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132757#132757</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=2542&quot; target=&quot;_blank&quot;&gt;Frank Yaeger&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 8:59 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
lekshmi_ci,
&lt;br /&gt;

&lt;br /&gt;
If you want a DFSORT solution rather than an IDCAMS solution (after all you did post in the DFSORT Fourm), you can use the technique described in the &quot;Set RC=12 or RC=4 if file is empty, has more than n records, etc&quot; Smart DFSORT Trick at:
&lt;br /&gt;

&lt;br /&gt;
&lt;a href=&quot;http://www.ibm.com/servers/storage/support/software/sort/mvs/tricks/&quot; target=&quot;_blank&quot;&gt;http://www.ibm.com/servers/storage/support/software/sort/mvs/tricks/&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
However, you'll probably need to modify the job slightly like this to allow DFSORT to accept an empty VSAM data set:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
//STEP1 EXEC PGM=ICETOOL
&lt;br /&gt;
//TOOLMSG DD SYSOUT=*
&lt;br /&gt;
//DFSMSG DD SYSOUT=*
&lt;br /&gt;
//IN DD DSN=...&amp;nbsp; VSAM data set
&lt;br /&gt;
//TOOLIN DD *
&lt;br /&gt;
* SET RC=12 IF THE 'IN' DATA SET IS EMPTY, OR
&lt;br /&gt;
* SET RC=0 IF THE 'IN' DATA SET IS NOT EMPTY
&lt;br /&gt;
COUNT FROM&amp;#40;IN&amp;#41; EMPTY USING&amp;#40;CTL1&amp;#41;
&lt;br /&gt;
/*
&lt;br /&gt;
//CTL1CNTL DD *
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;OPTION VSAMEMT
&lt;br /&gt;
/*
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt; 
&lt;br /&gt;

&lt;br /&gt;
I suspect the IDCAMS job is NOT accepting the empty VSAM data set.&lt;br /&gt;_________________&lt;br /&gt;Frank Yaeger - DFSORT Development Team  (IBM) - &lt;a href=&quot;mailto:yaeger@us.ibm.com&quot;&gt;yaeger@us.ibm.com&lt;/a&gt;             
&lt;br /&gt;
Specialties: PARSE, JFY, SQZ, ICETOOL, IFTHEN, OVERLAY, Symbols, Migration         
&lt;br /&gt;
=&gt; DFSORT/MVS is on the Web at &lt;a href=&quot;http://www.ibm.com/storage/dfsort/&quot; target=&quot;_blank&quot;&gt;http://www.ibm.com/storage/dfsort/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Frank Yaeger</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132712#132712" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132757</comments>
</item>
<item>
<title>CLIST &amp; REXX :: RE: How do i close and reopen a file in the same rexx</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132756#132756</link>
<pubDate>Wed, 14 May 2008 15:28:57 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132756#132756</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=14026&quot; target=&quot;_blank&quot;&gt;ofer71&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 8:58 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Can you specify what do you mean by &quot;open&quot; and &quot;close&quot;? In my TSO REXXs, I use ALLOCATE and FREE.
&lt;br /&gt;

&lt;br /&gt;
O.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>ofer71</dc:creator>
<dc:subject>CLIST &amp; REXX</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132751#132751" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132756</comments>
</item>
<item>
<title>Mainframe COBOL :: RE: how to convert character to numeric data type in cobol</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132755#132755</link>
<pubDate>Wed, 14 May 2008 15:28:49 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132755#132755</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=47818&quot; target=&quot;_blank&quot;&gt;CICS Guy&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 8:58 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;krishnasaikiah wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Time pic x(8) to time pic 9(8)&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;If the x(8) is valid numeric (no spaces):
&lt;br /&gt;
05 timex pic x(8).
&lt;br /&gt;
05 time9 redefines timex pic 9(8).
&lt;br /&gt;
or:
&lt;br /&gt;
move timex to time9.
&lt;br /&gt;
If the x(8) is not valid numeric (some spaces):
&lt;br /&gt;
Compute time9 = function numval (timex).&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>CICS Guy</dc:creator>
<dc:subject>Mainframe COBOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132748#132748" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132755</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: Combining 2 Files vertically on Condition</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132753#132753</link>
<pubDate>Wed, 14 May 2008 15:16:16 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132753#132753</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=34671&quot; target=&quot;_blank&quot;&gt;dick scherrer&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 8:46 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello,
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Following is an example to decipate the same viz&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;Please clarify what this means in English.
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Hope I am clear with the requirement. &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;No. Your request is not clear. Please post some sample data from the 2 nput files and the desired output from processing that input. Also include the recfm, lrecl, and the positions of the relevant fields for your requirement.&lt;br /&gt;_________________&lt;br /&gt;Hope this helps,
&lt;br /&gt;

&lt;br /&gt;
d.sch.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dick scherrer</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=132683#132683" />
<comments>http://ibmmainframes.com/posting.php?mode=quote&amp;p=132753</comments>
</item>
<item>
<title>DFSORT/ICETOOL :: RE: Can we do right justified using Sort</title>
<link>http://ibmmainframes.com/viewtopic.php?p=132752#132752</link>
<pubDate>Wed, 14 May 2008 15:05:33 GMT</pubDate>
<guid isPermaLink="true">http://ibmmainframes.com/viewtopic.php?p=132752#132752</guid>
<description>Author: &lt;a href=&quot;http://ibmmainframes.com/profile.php?mode=viewprofile&amp;u=34671&quot; target=&quot;_blank&quot;&gt;dick scherrer&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 8:35 pm (GMT 5.5)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello,
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;However if I give a Dataset for my SORTIN then I am getting errors. I am sure that I am missing on a very small thing&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;It does you no good to post &quot;it didn't work&quot; or some variation of that &lt;img src=&quot;http://ibmmainframes.com/images/smiles/icon_sad.gif&quot; alt=&quot;icon_sad.gif&quot; border=&quot;0&quot; /&gt;  It just wastes everyone's time. . .
&lt;br /&gt;

&lt;br /&gt;
When you post a problem, you need to provide details about the problem.&lt;br /&gt;_________________&lt;br /&gt;Hope this helps,
&lt;br /&gt;

&lt;br /&gt;
d.sch.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dick scherrer</dc:creator>
<dc:subject>DFSORT/ICETOOL</dc:subject>
<annotate:reference rdf:resource="http://ibmmainframes.com/viewtopic.php?p=16424#16424" />
<comments>http://ibmmainframes.com/posting.p