CA Deliver - Receiving Syntax Error in Run of RMODBB
search cancel

CA Deliver - Receiving Syntax Error in Run of RMODBB

book

Article ID: 198618

calendar_today

Updated On:

Products

OM Deliver OM View

Issue/Introduction

The client was attempting to use the RMODBB utility, to add Job definition records to Deliver, and receives the following syntax error with a statement used in //SYSIN:

/JOBDEF RID=(DISKLISTA - D010) JOB=D010 DD=(F=D010)   

RMODBB01  Invalid syntax, Column=14                   

What is the proper syntax to be, for this to work?

Also, what is the //DATA DD statement used for, in the RMODBB job, and how is that different from just putting the /JOBDEF statement in the SYSIN stream?

Environment

Release : 14.0

Component : CA Deliver

Resolution

Below is an example of JCL used in a successful run of RMODBB:

//XXXXXXXX JOB ...
//STEP020 EXEC PGM=RMODBB,PARM='dlvr_hlq' <=== Modify DB name
//STEPLIB DD DISP=SHR,DSN=DLVR.CVDELOAD <=== Modify, if used
//SYSPRINT DD SYSOUT=*
//DATA DD DISP=SHR,DSN=xxxxxx.RMOGRW.OUTPUT
//SYSIN DD *
/JOBDEF JOB=(1,8) RID=(10,32) TYPE=(43,1) FUNCTION=(45,2)
/*
//

For the above:

. This is the //SYSIN input, in this case a /JOBDEF statement:

/JOBDEF JOB=(1,8) RID=(10,32) TYPE=(43,1) FUNCTION=(45,2)

. The //DATA is an input file that would contain something like the following:

JOBNAME1 REPORT001-R01 S

where: JOBNAME1           starts in position 1 for a length of 8

            REPORT001-R01  starts in position 10 for a length of 32

             S                           starts in position 43 for a length of 1

              blanks                  starts in position 45 for a length of 2

The fields in the /JOBDEF statement indicate the Deliver database fields being affected (JOB, RID, TYPE, and FUNCTION), which are followed by numeric values in showing, in the //DATA record, the starting position and length of the field value.