Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how do I put a dummy record out to spool

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ccacciatore

New User


Joined: 07 Dec 2005
Posts: 2

PostPosted: Wed Dec 07, 2005 1:47 am    Post subject: how do I put a dummy record out to spool
Reply with quote

I want this to go to output even if the file is empty:
Code:

//NOULTB2 EXEC PGM=IDCAMS                                 
//OUTFORM   OUTPUT CLASS=9,FORMS=PG960B                   
//SYSPRINT DD  SYSOUT=&CLASS                               
//IN       DD  DSN=&FLEVEL..xxxBILL.C593B(+1),DISP=SHR     
//OUT       DD DCB=(RECFM=VBA,LRECL=512),                 
//             SYSOUT=(,),                                 
//             OUTPUT=(*.OUTFORM)                         
//SYSIN    DD DSN=&PARML(CSCF100C),                       
//            DISP=SHR                                     

but it doesnt create anything in output if the file is empty. Help!
Back to top
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Dec 07, 2005 6:18 am    Post subject:
Reply with quote

Come on ccacciatore!! That's why they call it empty: because there's nothing there!!
Back to top
View user's profile Send private message
ccacciatore

New User


Joined: 07 Dec 2005
Posts: 2

PostPosted: Wed Dec 07, 2005 7:25 pm    Post subject: Re: how do I put a dummy record out to spool
Reply with quote

for auditing purposes, we need something printed even if a spool is empty. thought there might be something easy, rather than having to create a dummy record to print - thought there would be a way to force header or trailer page to print even when empty
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts DUMMY When do I need add a DCB parameter Martylin JCL & VSAM 3 Fri Dec 08, 2017 7:20 am
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Squeeze record left so that zeroes ar... Vignesh Sid SYNCSORT 5 Fri Nov 10, 2017 1:40 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us