sponsored links

Collapse

Announcement

Collapse
No announcement yet.

Blocking file

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Blocking file

    Hi,

    I have problem with my program. I have program that run in n-way. I want to speed up the performance of my program. I search the method until I found blocking file.
    I tried the OVRDBF command to do blocking file. This is my code:

    &DCBEGR = Begining record (RRN)
    &DCENDR = End record (RRN)

    ChgVar Var(&DCTOTL) Value((&DCENDR - &DCBEGR) + 1)
    OVRDBF FILE(&NWFILE) POSITION(*RRN &DCBEGR) +
    NBRRCDS(&DCTOTL) OVRSCOPE(*JOB) +
    SHARE(*NO) OPNSCOPE(*JOB) SEQONLY(*YES)

    I also tried:

    OVRDBF FILE(&NWFILE) POSITION(*RRN &DCBEGR) +
    OVRSCOPE(*JOB) SHARE(*NO) OPNSCOPE(*JOB) +
    SEQONLY(*YES &DCTOTL)

    I got message that I don't understand the error message:
    Message ID . . . . . . : CPF0001 Severity . . . . . . . : 30
    Message type . . . . . : Diagnostic
    Date sent . . . . . . : 17/09/10 Time sent . . . . . . : 07:38:22

    Message . . . . : Error found on OVRDBF command.
    Cause . . . . . : The system detected errors in the command.
    Recovery . . . : See the previously listed messages in the job log. Correct
    the errors and then try the command again. *N instead of a command name
    means that the name had not been determined before the error was found.

    can you help me?

    thanks,
    Byan Haqi Mupitra

  • #2
    I found it. it's because the maximum number is 32767 and I put 100.000 to NBRRCDS parameter.

    Comment

    sponsored links

    Collapse

    Working...
    X