<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to delete spool files of specific user and job</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 19:19:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114312</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sun, 16 Dec 2012 22:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114312</guid>
		<description><![CDATA[It&#039;s true; DLTSPLF doesn&#039;t select by status. My question is related to the number of spooled files that will have status that is not HLD or RDY. Do you have those often? What status do those have? How often will you run your program when spooled files are not HLD or RDY? Why do you have those spooled files? -- Tom]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s true; DLTSPLF doesn&#8217;t select by status. My question is related to the number of spooled files that will have status that is not HLD or RDY. Do you have those often? What status do those have? How often will you run your program when spooled files are not HLD or RDY? Why do you have those spooled files? &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 6r</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114310</link>
		<dc:creator>6r</dc:creator>
		<pubDate>Sun, 16 Dec 2012 18:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114310</guid>
		<description><![CDATA[I have written this program since i hwanted only those spooled files to be deleted whose status is either HLD
OR RLS.
and I don’t think without a program this could have been possible.
following command will delete all spool files for user JKJK
DLTSPLF FILE(*SELECT) SELECT(JKJK)

but what if i want to
delete only those whose staus is either HLD or RDY.

Please correct me if this  could also have been done in other way or in other programming approach or through some other
logic without creation of Logical file and flat file or even some simpler method.

Thanks]]></description>
		<content:encoded><![CDATA[<p>I have written this program since i hwanted only those spooled files to be deleted whose status is either HLD<br />
OR RLS.<br />
and I don’t think without a program this could have been possible.<br />
following command will delete all spool files for user JKJK<br />
DLTSPLF FILE(*SELECT) SELECT(JKJK)</p>
<p>but what if i want to<br />
delete only those whose staus is either HLD or RDY.</p>
<p>Please correct me if this  could also have been done in other way or in other programming approach or through some other<br />
logic without creation of Logical file and flat file or even some simpler method.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114307</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sun, 16 Dec 2012 13:05:42 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114307</guid>
		<description><![CDATA[Now that your program works, why can&#039;t you just run this way:
&#160;
&lt;CODE&gt;DLTSPLF FILE(*SELECT) SELECT(JKJK)&lt;/CODE&gt;
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>Now that your program works, why can&#8217;t you just run this way:<br />
&nbsp;<br />
<code>DLTSPLF FILE(*SELECT) SELECT(JKJK)</code><br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114306</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sun, 16 Dec 2012 12:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114306</guid>
		<description><![CDATA[First, you can check for two users, but you need to check this way:
&#160;
&lt;CODE&gt;IF COND( (&amp;USER *EQ JKJK *or &amp;USER *EQ ABC) *AND +(&amp;STS *EQ HLD *OR &amp;STS *EQ RDY)) THEN(DO)&lt;/CODE&gt;
&#160;
You need the *OR test for &amp;USER, and that test needs its own set of parentheses.
&#160;
Your WRKSPLF needs to be this way:
&#160;
&lt;CODE&gt;WRKSPLF OUTPUT(*PRINT)&lt;/CODE&gt;
&#160;
The command works in batch because it defaults to *PRINT in batch. It defaults to the display when run interactively, so you need to tell it to print. (There is no display in batch.)
&#160;
I remember that the spool file name had an extra blank when I ran my test, but forgot to mention it. It&#039;s better that you found it on your own, though. It shows that you are learning how to debug and how to find the smallest details. Good job.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>First, you can check for two users, but you need to check this way:<br />
&nbsp;<br />
<code>IF COND( (&amp;USER *EQ JKJK *or &amp;USER *EQ ABC) *AND +(&amp;STS *EQ HLD *OR &amp;STS *EQ RDY)) THEN(DO)</code><br />
&nbsp;<br />
You need the *OR test for &amp;USER, and that test needs its own set of parentheses.<br />
&nbsp;<br />
Your WRKSPLF needs to be this way:<br />
&nbsp;<br />
<code>WRKSPLF OUTPUT(*PRINT)</code><br />
&nbsp;<br />
The command works in batch because it defaults to *PRINT in batch. It defaults to the display when run interactively, so you need to tell it to print. (There is no display in batch.)<br />
&nbsp;<br />
I remember that the spool file name had an extra blank when I ran my test, but forgot to mention it. It&#8217;s better that you found it on your own, though. It shows that you are learning how to debug and how to find the smallest details. Good job.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 6r</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114302</link>
		<dc:creator>6r</dc:creator>
		<pubDate>Sun, 16 Dec 2012 10:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114302</guid>
		<description><![CDATA[On very carefully seeing file name was incorrect it was having one extra leading blank in &amp;SFILE. Thats why it was not deleting the spool file.Thanks for pinpointing  the possible errors.

Now the corrected DDS of logical file Myfile 4 is as following:-

0001.00                 R REC1                      PFILE(JKJK1/N12)      
0002.00                   FILE               I      SST(N12     2 10)     
0003.00                   USER               I      SST(N12     13 8)     
0003.01                   SPNO               I      SST(N12    103 4)     
0003.02                   JOB                I      SST(N12    108 10)    
0003.03                   JNO                I      SST(N12    119 6)     
0004.00                   STS                I      SST(N12     46 3)     

and I have made  some more modifications in my previous program CSPOOL -for deleting the spool files for specific user JKJK in order to avoid manually issuing CPYSPLF command from the output of QORTSPLF(which comes as a output of fWRKSPLF).Now this program is deleting all the spool files for user JKJK except the  followingones:-

                                                                                
                              Device or                     Total     Cur       
 Opt  File        User        Queue       User Data   Sts   Pages    Page  Copy 
      QPRTSPLF    JKJK        JKJK                    RDY       1             1 
      QPJOBLOG    JKJK        QEZJOBLOG   MYJOB8      RDY       4             1 
                                                                                

I think this should be fine since qprtsplf is getting created because of WRKSPLF command in my modified program and QPJOBLOG seems nothing more than job log of my submiited job  in QBATCH to call this modified program.
However I have question here that why this program is not being successfully being called from comand line.IF i directly call using C against program name than

1) due to WRKSPLF command screen comes displaying all the spool files.

2) Then after that if i press enter than following error appears:-

Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.                              
CPF3303 received by procedure CSPOOL1. (C D I R)                               
                                                                               
Type reply, press Enter.                                                       
  Reply . . .                                                                  
                                                                               
                                                                               
F3=Exit   F12=Cancel                                                           
                                                                               
3) If I press F1  on CPF3303 received by procedure CSPOOL1. (C D I R) to know
the reason behind this message than:-

following detailed screen appears:-

                                                                                
 Message ID . . . . . . :   CPA0702       Severity . . . . . . . :   99         
 Message type . . . . . :   Inquiry                                             
 Date sent  . . . . . . :   12/16/12      Time sent  . . . . . . :   10:58:43   
                                                                                
 Message . . . . :   CPF3303 received by procedure CSPOOL1. (C D I R)           
 Cause . . . . . :   ILE Control language (CL) procedure CSPOOL1 in module      
   CSPOOL1 in program CSPOOL1 in library JKJK1 detected an error at statement   
   number 0000000102.  Message text for CPF3303 is: File QPRTSPLF not found in  
   job 548715/JKJK/QPADEV00DN.  Use F10 (if available) or the Display Job Log   
   (DSPJOBLOG) command to see the messages in the job log for a more complete   
   description of what caused the error.  If you still are unable to solve the  
   problem, please contact your technical support person.                       
 Recovery  . . . :   This inquiry message can be avoided by changing the        
   procedure. Monitor for the error (MONMSG command) and perform error recovery 
   within the procedure.  To continue, choose a reply value.                    
 Possible choices for replying to message . . . . . . . . . . . . . . . :       
                                                                        More... 
 Press Enter to continue.                                                       
                                                                                

                                                                               
 Message ID . . . . . . :   CPA0702       Severity . . . . . . . :   99        
 Message type . . . . . :   Inquiry                                            
                                                                               
   C -- Cancel the CL procedure.                                               
   D -- Dump the CL procedure variables and cancel the procedure.              
   I -- Ignore the failing command.                                            
   R -- Try the failing command again.                                         


                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                         Bottom
 Press Enter to continue.                                                      
                                                                               
 F3=Exit   F6=Print   F9=Display message details                               
 F10=Display messages in job log   F12=Cancel   F21=Select assistance level    
                                                                               
 F3=Exit   F6=Print   F9=Display message details                                
 F10=Display messages in job log   F12=Cancel   F21=Select assistance level 
it seems here prgram not detecting QPRTSPLF the same program recognize QPRTSPLF if i submit it using CALL PGM(CSPOOL1) in SBMJOB command
than job not only gets sumbitted successfully but also gets completed normally.
Not sure what causes this behaviour of CL program.
However I tried giving all the 4 options C,D,I,R one by one by calling the same CSPOOL1 program from command line but it doesnot work.It does work properly  as said if i submit it in job using call pgm(cpspool1).

4) I have one more question here like if i need to delete the spool files of some other user along with JKJK (let&#039;s say another user is &#039;ABC&#039;  Then will the followinf if condition will be correct?

IF         COND(&amp;USER *EQ JKJK *AND  &amp;USER *EQ  ABC  *AND +    
             (&amp;STS *EQ HLD *OR &amp;STS *EQ RDY)) THEN(DO)   
DLTSPLF    FILE(&amp;FILE) JOB(&amp;JNO/&amp;USER/&amp;JOB) SPLNBR(&amp;SPNO)

also in my program i am selecting all the spool files using WRKSPLF command
then copying those  files from QPRTSPLF to N12(Flat file).
But in actual if i want only the spool files of only two users as mentioned above 
1)JKJK 2) ABC
then apart from above mentioned if condition is there any alternative way to achieve that target?

My  modified program  that seems to be working fine for deleting the spool file of single user JKJK :-


 PGM                                                                   
              DCLF       FILE(JKJK1/MYFILE4)                           
              wrksplf                                                  
              CPYSPLF    FILE(QPRTSPLF) TOFILE(N12)                    
  READ:       RCVF                                                     
              MONMSG     MSGID(CPF0864) EXEC(GOTO CMDLBL(END))         
              IF         COND(%SST(&amp;SPNO 1 1) *EQ &#039; &#039;) THEN(CHGVAR +   
                           VAR(%SST(&amp;SPNO 1 1)) VALUE(&#039;0&#039;))            
              IF         COND(%SST(&amp;SPNO 2 1) *EQ &#039; &#039;) THEN(CHGVAR +   
                           VAR(%SST(&amp;SPNO 2 1)) VALUE(&#039;0&#039;))            
              IF         COND(%SST(&amp;SPNO 3 1) *EQ &#039; &#039;) THEN(CHGVAR +   
                           VAR(%SST(&amp;SPNO 3 1)) VALUE(&#039;0&#039;))            
              IF         COND(&amp;USER *EQ JKJK *AND (&amp;STS *EQ HLD *OR +  
                           &amp;STS *EQ RDY)) THEN(DO)                     
              DLTSPLF    FILE(&amp;FILE) JOB(&amp;JNO/&amp;USER/&amp;JOB) SPLNBR(&amp;SPNO)
              MONMSG     MSGID(CPF0000)   
            ENDDO                        
            GOTO       CMDLBL(READ)      
END:        ENDPGM                       

Thanks .]]></description>
		<content:encoded><![CDATA[<p>On very carefully seeing file name was incorrect it was having one extra leading blank in &amp;SFILE. Thats why it was not deleting the spool file.Thanks for pinpointing  the possible errors.</p>
<p>Now the corrected DDS of logical file Myfile 4 is as following:-</p>
<p>0001.00                 R REC1                      PFILE(JKJK1/N12)<br />
0002.00                   FILE               I      SST(N12     2 10)<br />
0003.00                   USER               I      SST(N12     13 8)<br />
0003.01                   SPNO               I      SST(N12    103 4)<br />
0003.02                   JOB                I      SST(N12    108 10)<br />
0003.03                   JNO                I      SST(N12    119 6)<br />
0004.00                   STS                I      SST(N12     46 3)     </p>
<p>and I have made  some more modifications in my previous program CSPOOL -for deleting the spool files for specific user JKJK in order to avoid manually issuing CPYSPLF command from the output of QORTSPLF(which comes as a output of fWRKSPLF).Now this program is deleting all the spool files for user JKJK except the  followingones:-</p>
<p>                              Device or                     Total     Cur<br />
 Opt  File        User        Queue       User Data   Sts   Pages    Page  Copy<br />
      QPRTSPLF    JKJK        JKJK                    RDY       1             1<br />
      QPJOBLOG    JKJK        QEZJOBLOG   MYJOB8      RDY       4             1 </p>
<p>I think this should be fine since qprtsplf is getting created because of WRKSPLF command in my modified program and QPJOBLOG seems nothing more than job log of my submiited job  in QBATCH to call this modified program.<br />
However I have question here that why this program is not being successfully being called from comand line.IF i directly call using C against program name than</p>
<p>1) due to WRKSPLF command screen comes displaying all the spool files.</p>
<p>2) Then after that if i press enter than following error appears:-</p>
<p>Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
Job 548715/JKJK/QPADEV00DN changed by JOBMANAGER.<br />
CPF3303 received by procedure CSPOOL1. (C D I R)                               </p>
<p>Type reply, press Enter.<br />
  Reply . . .                                                                  </p>
<p>F3=Exit   F12=Cancel                                                           </p>
<p>3) If I press F1  on CPF3303 received by procedure CSPOOL1. (C D I R) to know<br />
the reason behind this message than:-</p>
<p>following detailed screen appears:-</p>
<p> Message ID . . . . . . :   CPA0702       Severity . . . . . . . :   99<br />
 Message type . . . . . :   Inquiry<br />
 Date sent  . . . . . . :   12/16/12      Time sent  . . . . . . :   10:58:43   </p>
<p> Message . . . . :   CPF3303 received by procedure CSPOOL1. (C D I R)<br />
 Cause . . . . . :   ILE Control language (CL) procedure CSPOOL1 in module<br />
   CSPOOL1 in program CSPOOL1 in library JKJK1 detected an error at statement<br />
   number 0000000102.  Message text for CPF3303 is: File QPRTSPLF not found in<br />
   job 548715/JKJK/QPADEV00DN.  Use F10 (if available) or the Display Job Log<br />
   (DSPJOBLOG) command to see the messages in the job log for a more complete<br />
   description of what caused the error.  If you still are unable to solve the<br />
   problem, please contact your technical support person.<br />
 Recovery  . . . :   This inquiry message can be avoided by changing the<br />
   procedure. Monitor for the error (MONMSG command) and perform error recovery<br />
   within the procedure.  To continue, choose a reply value.<br />
 Possible choices for replying to message . . . . . . . . . . . . . . . :<br />
                                                                        More&#8230;<br />
 Press Enter to continue.                                                       </p>
<p> Message ID . . . . . . :   CPA0702       Severity . . . . . . . :   99<br />
 Message type . . . . . :   Inquiry                                            </p>
<p>   C &#8212; Cancel the CL procedure.<br />
   D &#8212; Dump the CL procedure variables and cancel the procedure.<br />
   I &#8212; Ignore the failing command.<br />
   R &#8212; Try the failing command again.                                         </p>
<p>                                                                         Bottom<br />
 Press Enter to continue.                                                      </p>
<p> F3=Exit   F6=Print   F9=Display message details<br />
 F10=Display messages in job log   F12=Cancel   F21=Select assistance level    </p>
<p> F3=Exit   F6=Print   F9=Display message details<br />
 F10=Display messages in job log   F12=Cancel   F21=Select assistance level<br />
it seems here prgram not detecting QPRTSPLF the same program recognize QPRTSPLF if i submit it using CALL PGM(CSPOOL1) in SBMJOB command<br />
than job not only gets sumbitted successfully but also gets completed normally.<br />
Not sure what causes this behaviour of CL program.<br />
However I tried giving all the 4 options C,D,I,R one by one by calling the same CSPOOL1 program from command line but it doesnot work.It does work properly  as said if i submit it in job using call pgm(cpspool1).</p>
<p>4) I have one more question here like if i need to delete the spool files of some other user along with JKJK (let&#8217;s say another user is &#8216;ABC&#8217;  Then will the followinf if condition will be correct?</p>
<p>IF         COND(&amp;USER *EQ JKJK *AND  &amp;USER *EQ  ABC  *AND +<br />
             (&amp;STS *EQ HLD *OR &amp;STS *EQ RDY)) THEN(DO)<br />
DLTSPLF    FILE(&amp;FILE) JOB(&amp;JNO/&amp;USER/&amp;JOB) SPLNBR(&amp;SPNO)</p>
<p>also in my program i am selecting all the spool files using WRKSPLF command<br />
then copying those  files from QPRTSPLF to N12(Flat file).<br />
But in actual if i want only the spool files of only two users as mentioned above<br />
1)JKJK 2) ABC<br />
then apart from above mentioned if condition is there any alternative way to achieve that target?</p>
<p>My  modified program  that seems to be working fine for deleting the spool file of single user JKJK :-</p>
<p> PGM<br />
              DCLF       FILE(JKJK1/MYFILE4)<br />
              wrksplf<br />
              CPYSPLF    FILE(QPRTSPLF) TOFILE(N12)<br />
  READ:       RCVF<br />
              MONMSG     MSGID(CPF0864) EXEC(GOTO CMDLBL(END))<br />
              IF         COND(%SST(&amp;SPNO 1 1) *EQ &#8216; &#8216;) THEN(CHGVAR +<br />
                           VAR(%SST(&amp;SPNO 1 1)) VALUE(&#8217;0&#8242;))<br />
              IF         COND(%SST(&amp;SPNO 2 1) *EQ &#8216; &#8216;) THEN(CHGVAR +<br />
                           VAR(%SST(&amp;SPNO 2 1)) VALUE(&#8217;0&#8242;))<br />
              IF         COND(%SST(&amp;SPNO 3 1) *EQ &#8216; &#8216;) THEN(CHGVAR +<br />
                           VAR(%SST(&amp;SPNO 3 1)) VALUE(&#8217;0&#8242;))<br />
              IF         COND(&amp;USER *EQ JKJK *AND (&amp;STS *EQ HLD *OR +<br />
                           &amp;STS *EQ RDY)) THEN(DO)<br />
              DLTSPLF    FILE(&amp;FILE) JOB(&amp;JNO/&amp;USER/&amp;JOB) SPLNBR(&amp;SPNO)<br />
              MONMSG     MSGID(CPF0000)<br />
            ENDDO<br />
            GOTO       CMDLBL(READ)<br />
END:        ENDPGM                       </p>
<p>Thanks .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114268</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Fri, 14 Dec 2012 02:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114268</guid>
		<description><![CDATA[Of course the job log will capture the message is set properly but removing the MONMSG might expose the issue.]]></description>
		<content:encoded><![CDATA[<p>Of course the job log will capture the message is set properly but removing the MONMSG might expose the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114265</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Fri, 14 Dec 2012 00:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114265</guid>
		<description><![CDATA[The values might be correct and DLTSPLF is failing anyway. E.g., no *SPLCTL or no authority to *ALLOBJ user or various problems. With the MONMSG set for CPF0000, the program has essentially been told to ignore any problems and continue as if nothing went wrong. It might be useful to put some code into the MONMSG to see if it&#039;s going through that path. (The check for CPF0000 with no action shouldn&#039;t be there anyway.) -- Tom]]></description>
		<content:encoded><![CDATA[<p>The values might be correct and DLTSPLF is failing anyway. E.g., no *SPLCTL or no authority to *ALLOBJ user or various problems. With the MONMSG set for CPF0000, the program has essentially been told to ignore any problems and continue as if nothing went wrong. It might be useful to put some code into the MONMSG to see if it&#8217;s going through that path. (The check for CPF0000 with no action shouldn&#8217;t be there anyway.) &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114257</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Thu, 13 Dec 2012 16:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114257</guid>
		<description><![CDATA[I&#039;m sorry, obviously when you reach the If and DLTSPLF commands one of the file variables values isn&#039;t correct.&#160;&#160;In Debug you can check all of the values.
&amp;JNO&#160; &amp;USER &amp;JOB, &amp;STS, &amp;FILE, or &amp;SPNO&#160;aren&#039;t current or correct values.&#160; You can check all of these during debug.&#160; 
&#160;]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry, obviously when you reach the If and DLTSPLF commands one of the file variables values isn&#8217;t correct.&nbsp;&nbsp;In Debug you can check all of the values.<br />
&amp;JNO&nbsp; &amp;USER &amp;JOB, &amp;STS, &amp;FILE, or &amp;SPNO&nbsp;aren&#8217;t current or correct values.&nbsp; You can check all of these during debug.&nbsp;<br />
&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 6r</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114255</link>
		<dc:creator>6r</dc:creator>
		<pubDate>Thu, 13 Dec 2012 14:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114255</guid>
		<description><![CDATA[..
So it does performDLTSPLF during debug mode when i forcefully assign those parameters using EVAL command. but it does read all the recods from myfile4 and now spool file numbers are coming correctly after giving the lenghth of 4 to my spool file number field in Myfile4 .But still not sure why this program is not working in desired way.]]></description>
		<content:encoded><![CDATA[<p>..<br />
So it does performDLTSPLF during debug mode when i forcefully assign those parameters using EVAL command. but it does read all the recods from myfile4 and now spool file numbers are coming correctly after giving the lenghth of 4 to my spool file number field in Myfile4 .But still not sure why this program is not working in desired way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 6r</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114254</link>
		<dc:creator>6r</dc:creator>
		<pubDate>Thu, 13 Dec 2012 14:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-spool-files-of-specific-user-and-job/#comment-114254</guid>
		<description><![CDATA[I have debuggged it many times and can see all the job no,job name user name and spool file name comes correctly after first 2-3 garbage recods but program does not perform dltsplf command,but it does perform when i forcefully assign 
the job no,jobname,username and spool file name during debug by using EVAL 
command for example just before the DLTSPLF i set break point and do EVAL &amp;USER=&#039;JKJK&#039; &amp;JNO=123456&#039; ,&amp;JOBNAME =&#039;QPAD...&#039; (just for expalining my point n]]></description>
		<content:encoded><![CDATA[<p>I have debuggged it many times and can see all the job no,job name user name and spool file name comes correctly after first 2-3 garbage recods but program does not perform dltsplf command,but it does perform when i forcefully assign<br />
the job no,jobname,username and spool file name during debug by using EVAL<br />
command for example just before the DLTSPLF i set break point and do EVAL &amp;USER=&#8217;JKJK&#8217; &amp;JNO=123456&#8242; ,&amp;JOBNAME =&#8217;QPAD&#8230;&#8217; (just for expalining my point n</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/8 queries in 0.011 seconds using memcached
Object Caching 395/396 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 23:54:12 -->