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
This topic is locked: you cannot edit posts or make replies. To remove spaces in a variable length... Selvarajars JCL & VSAM 1 Thu Jun 21, 2018 1:07 pm
No new posts How to Count a particular record in a... Mounika Nemani DFSORT/ICETOOL 5 Tue May 29, 2018 1:07 pm
No new posts TRAILER3 is creating blank record in ... kodeesm DFSORT/ICETOOL 3 Fri May 18, 2018 5:45 pm
No new posts VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm
No new posts Copying only first and last word from... chandan.inst SYNCSORT 4 Wed Jan 31, 2018 4:19 pm

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