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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts To Discard record with 0 entry if Dup... SYNCSORT 7
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
No new posts Write record twice based on condition... SYNCSORT 7
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Sort to insert record in an empty file. DFSORT/ICETOOL 5
Search our Forums:


Back to Top