IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how do I put a dummy record out to spool


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top