Topic
  • No replies
LenStockdale
LenStockdale
7 Posts

Pinned topic RDP CRTSQLCBL

‏2013-07-05T13:26:55Z |

Hello.

I have a client who uses RDP to maintain Cobol programs.

When they submit a job to compile without prompt it fails with

Parameter CMD specified more than once

The command being used  is

SBMJOB JOB(&N) CMD(CRTSQLCBL PGM(&O/&N) SRCFILE(&L/&F) SRCMBR(&N) REPLACE(&R) OPTION(*LSTDBG) ) JOBD(ASYS/XAPPDEV)  SBMJOB JOB(XXXC02A) CMD(CRTSQLCBL PGM(XXXLIB/XXXXC02A)  SRCFILE(XXXLIB/QLBLSRC) SRCMBR(XXXC02A) REPLACE(*YES) OPTION(*LSTDBG) ) JOBD(ASYS/XXXDEV)

When they submit a compile without prompt it works.

SBMJOB CMD(CRTSQLCBL PGM(XXXXDEVSRC/XXXC02A) SRCFILE(XXXDEVSRC/QLBLSRC) SRCMBR(XXXC02A) REPLACE(*YES) OPTION(*LSTDBG)) JOB(XXXC02A) JOBD(ASYS/XXXDEV

Why is RDP coming up with a duplicate parameter?

 

Thanks

Len