Murali 

Check your report query on      

                        Define Spooled Output                     
                                                                       
 Type choices, press Enter.                                            
                                                                       
   Spool the output . . .   Y            Blank, Y=Yes, N=No            
                                                                       
   Form type  . . . . . .   *STD         Blank, name, *STD             
                                                                       
   Copies . . . . . . . .   1            Blank, 1-255                  
                                                                       
   Hold . . . . . . . . .   Y            Blank, Y=Yes, N=No            
                                                                       

-----Original Message-----
From: murali dhar [mailto:hydchap1@xxxxxxxxx]
Sent: 24 March 2004 11:03 AM
To: Midrange Systems Technical Discussion
Subject: RE: CHGJOB


If the report autromatically prints  we would not be
able to email it since  the spool file would not be
there after printing. These spool files are directed
to  JUNK by using CHGJOB.
Spool file are on hold.
Could not get any conclusion aftre checking queries.

Thanks,
Murali. 
--- Emmanuel Zannis <emmanuel.zannis@xxxxxxxxxxx>
wrote:
> Check your queries. 
> 
> -----Original Message-----
> From: murali dhar [mailto:hydchap1@xxxxxxxxx]
> Sent: 24 March 2004 10:03 AM
> To: Midrange Systems Technical Discussion
> Subject: CHGJOB
> 
> 
> Hi, Greetings for a good day!
> Below is my part of my CL program :
> 
> PGM                                                 
>  
>    
>                                                     
>  
>     
>  DCL        VAR(&RECS) TYPE(*DEC) LEN(10)           
>  
>     
>  DCL        VAR(&PLIB) TYPE(*CHAR) LEN(10)          
>  
>     
>                                                     
>  
>     
>  YGETPLIB   PLIB(&PLIB)                             
>  
>     
>                                                     
>  
>     
>  CHGJOB     OUTQ(QUSRSYS/JUNK)                      
>  
>     
>  RUNQRY     QRY(YSGOMNITRD) QRYFILE((&PLIB/YTRNF1) +
>  
>   
>               (YCUSTOMNI)) OUTTYPE(*OUTFILE) +      
>  
>     
>               OUTFILE(QTEMP/IFEMPTY)                
>  
>     
>  RTVMBRD    FILE(QTEMP/IFEMPTY) NBRCURRCD(&RECS)    
>  
>     
>  IF         COND(&RECS *EQ 0) THEN(GOTO
> CMDLBL(ENDIT))
>     
>  RUNQRY     QRY(YSGOMNITRD) QRYFILE((&PLIB/YTRNF1) +
>  
>   
>               (YCUSTOMNI)) OUTTYPE(*PRINTER) +      
>  
>     
>               OUTFILE(QTEMP/YSGOMNITRD)         
> 
> 
> When I run this job , I found this puts spool file
> on
> hold(it changes the outputq to junk):
> 
> How do I make this program modify sothat it should
> not
> put spool file on hold ?
> Can I replace with OVRPRTF? any  ideas? please post
> Thanks in adv,
> Murali.
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on
> time.
> http://taxes.yahoo.com/filing.html
> _______________________________________________
> This is the Midrange Systems Technical Discussion
> (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit:
>
http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/midrange-l.
> 
> The above information is confidential to the
> addressee and may be privileged.  Unauthorised
> access and use is prohibited.
> 
> Internet communications are not secure and therefore
> this Company does not accept legal responsibility
> for the contents of this message.
> 
> If you are not the intended recipient, any
> disclosure, copying, distribution or any action
> taken or omitted to be taken in reliance on it, is
> prohibited and may be unlawful.
> 
> Hogg Robinson plc
> Registered Office: Abbey House, 282 Farnborough
> Road, Farnborough,Hampshire GU14 7NJ
> Registered in England and Wales No 2107443
> _______________________________________________
> This is the Midrange Systems Technical Discussion
> (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit:
>
http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/midrange-l.
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

The above information is confidential to the addressee and may be privileged.  
Unauthorised access and use is prohibited.

Internet communications are not secure and therefore this Company does not 
accept legal responsibility for the contents of this message.

If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.

Hogg Robinson plc
Registered Office: Abbey House, 282 Farnborough Road, Farnborough,Hampshire 
GU14 7NJ
Registered in England and Wales No 2107443

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.