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 Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am

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