z/os
Datacom/DB 15.1
Issue around Quotes and continuation line missing in the BACKWARD/FORWARD RECOVERY command.
Example 1;
//SYSIN DD * Command Input
RECBASE DBID=1
RECJOB JOBNAME=PAYCHECK
RECOVERY OPTION=BACKWARD,SORT=1000,MISMATCH=FAIL
/*
Does not show the comma (after FAIL) because there is no need. There is no other parameter for that RECOVERY command.
but
In the below example, a comma is needed for the RECOVERY command to continue next line.
RANGEDT parameter belongs to RECOVERY command.
//SYSIN DD * Command Input
RECBASE DBID=1
RECJOB JOBNAME=PAYCHECK
RECOVERY OPTION=BACKWARD,SORT=1000,MISMATCH=FAIL,
RANGEDT='2018103011290020181030113000'
/*
Comma is a parameter separator and a continuation line as described in the doc.
All the parameters, like RANGEDT , are mentioned with a comma in front, for example:
",RANGEDT=" or ",OPTION1=" or ",NUMBER=" etc....
You would need the same continuation line on the RECJOB command if you had more parameters.