How can multiple ACF2 rules be compiled from a sequential file.
search cancel

How can multiple ACF2 rules be compiled from a sequential file.

book

Article ID: 231879

calendar_today

Updated On:

Products

ACF2

Issue/Introduction

How can multiple ACF2 rules be compiled from a single sequential file rather than a PDS?

 

Environment

Release : 16.0

Component : ACF2 for z/OS

Resolution

The ACFBATCH utility can be used to compile multiple rules from a single FB(fixed block) or VB(variable blocked) sequential file. VBA is not supported. Each rule would need to be preceded by a 'COMP * STORE' followed by a blank line after the last rule entry. For example:

//ACFBATCH EXEC PGM=ACFBATCH               
//SYSPRINT DD SYSOUT=*                     
//SYSIN    DD DISP=SHR,DSN=FB.SEQ.FILE     

EDIT       FB.SEQ.FILE                                  Columns 00001 00072
****** ***************************** Top of Data ******************************
000010 COMP * STORE                                                            
000100 $KEY(RULE1)                                                              
000200 #E.*-.- UID(*) NEXTKEY(NEXT$EX)                                      
000300 #W.*-.- UID(*) NEXTKEY(NEXT$WX)                                      
000400 F.ABBBBBB.**DUMPS.CL UID(DD0*U) R(A) W(A) E(A)
000500 F.ABBBBB.**DUMPS.CL UID(DD0*U) R(A) W(A) E(A)
000510                                                                         
000520 COMP * STORE                                                            
000600 $KEY(RULE2)                                                        
000700 $PREFIX(WQ)                                                            
000800 G.EEEEEEE.**DD.CCCCLIB.CTL UID(*****55555DDL) R(A) W(A) A(A)  
000900 G.EEEEEEE.**FF.CCCCLIB.CTL UID(*****66666FRG) R(A) W(A) A(A)  
001000
****** **************************** Bottom of Data ****************************