View previous topic :: View next topic |
Author |
Message |
pdinesh80 Beginner
Joined: 10 Sep 2003 Posts: 1 Topics: 1
|
Posted: Wed Jun 09, 2004 5:01 am Post subject: NDM check |
|
|
Hi
Can anyone please tell how to check the NDM step is successful?. Sometimes it happens that JCL run succesfully(RC=0) but the NDM step fails. Now we are manually checking the NDM step by using the process number in statistics. Is any possibily of checking this NDM step through JCL.
Thanks,
Dinesh |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Jun 09, 2004 7:30 am Post subject: |
|
|
The DMBATCH program either executes successfully or it doesn't. If it doesn't, you will NOT be getting a return-code of 0. If DMBATCH cannot execute properly, or if there is a syntax error in the input stream, and it still ends with a return-code of 0, then something is wrong and a problem ticket should probably be opened with the vendor. |
|
Back to top |
|
|
taterhead Beginner
Joined: 02 Dec 2002 Posts: 7 Topics: 0
|
Posted: Wed Jun 09, 2004 8:20 am Post subject: |
|
|
DMBATCH can complete successfully but the transfer can fail for a variety of reasons. I'm not real familiar with this stuff so you'll need to scare up a manual, but there's verbiage in the NDM processor language that goes something like
Code: |
SEL STAT WHERE(CCODE=(GT,0) STARTT=(TODAY) PNAME=processorName)
|
|
|
Back to top |
|
|
Ram Beginner
Joined: 12 Jan 2004 Posts: 53 Topics: 12
|
Posted: Thu Jun 10, 2004 2:27 am Post subject: |
|
|
Hi,
Once the job has completed, look for the process number in the DMPRINT step . Using this process number one can check if the NDM step was successful or not. Type Start N on the prompt and then a SS. Type the process number and hit enter, This will list the status of the process. Copy the msgid which is like 'SCPA000I' . Go to the primary options menu and type MSG. Type 1 and hit enter. Type in the msg id and hit enter . This option will display the informatory message assocaited with this msgid. Eg. For 'SCPA000I' the listing would be ,
Copy step successful.
The process copy step successfully completed.
The Return-code may be 4, in which case a "Level-4"
error has occurred in transmitting a PDS. A Level-4
error indicates that an error was found, but was not
sufficient to cause termination of the COPY step.
Hope this helps.
Regards,
Ram |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Jun 10, 2004 5:07 am Post subject: |
|
|
taterhead, your answer is definitely on the right track. |
|
Back to top |
|
|
|
|