Hello Akos,
Here is the batch job I use to add a new member to a Librarian Master file:
(Note if the member already exists, you must use the ++UPDATE command)
//*
//* ADDS A NEW MEMBER TO THE MASTER FILE
//*
//INDEX EXEC PGM=AFOLIBR,PARM='NRJS,NJTA'
//STEPLIB DD DISP=SHR,DSN=hlq.mlq.CALJLINK
//SYSPRINT DD SYSOUT=*
//INDEX DD SYSOUT=*
//MASTER DD DISP=SHR,DSN=SYS2.SOURCE
//OSJOB DD DUMMY
//SYSIN DD *
-ADD DFH0STAT,ARC
-LANG ???
-DESC optional description
-HST COMMENT: ADD NEW MEMBER DFH0STAT
// DD DISP=SHR,DSN=SYSP.CICSTS53.SDFHSAMP(DFH0STAT)
// DD *
-EMOD
-END
/*
//
The -DESC and -HST options are optional and used for documentation.
Check with your Librarian users to see what your standards are.
For more explanation of the ADD command and the Command Processing options see Batch Commands in the Librarian DocOps -
https://docops.ca.com/ca-librarian/4-4/en/batch-commands
If you have any problems executing the job, please open a CA Support case on CA Support Online.
June