Need sample JCL to create and format a new LOxxx file.
search cancel

Need sample JCL to create and format a new LOxxx file.

book

Article ID: 10034

calendar_today

Updated On:

Products

ASM2- STORAGE MANAGEMENT ASM2 Backup and Restore

Issue/Introduction

Can I have a sample JCL to create a new LOxxx file?



Environment

z/OS

Resolution

To create a new LOxxx file you can use the following sample JCL.

//LOUSER EXEC PGM=IEBGENER 
//SYSPRINT DD SYSOUT=* 
//SYSIN DD DUMMY 
//SYSUT2 DD DSN=your new ASM242.BKUP/ARCH.LOUSER,    --->>> select ARCH or BKUP
// UNIT=3390,VOL=SER=ASM009, 
// DCB=(RECFM=F,LRECL=80,BLKSIZE=80), 
// DISP=(,CATLG,DELETE), 
// SPACE=(TRK,(1)) 
//SYSUT1 DD * 
001 SCRTCH

 

*Note* You can also create a file that is 256 lrecl if you choose to do so.