MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NDM check

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
pdinesh80
Beginner


Joined: 10 Sep 2003
Posts: 1
Topics: 1

PostPosted: Wed Jun 09, 2004 5:01 am    Post subject: NDM check Reply with quote

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
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Wed Jun 09, 2004 7:30 am    Post subject: Reply with quote

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
View user's profile Send private message
taterhead
Beginner


Joined: 02 Dec 2002
Posts: 7
Topics: 0

PostPosted: Wed Jun 09, 2004 8:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Ram
Beginner


Joined: 12 Jan 2004
Posts: 53
Topics: 12

PostPosted: Thu Jun 10, 2004 2:27 am    Post subject: Reply with quote

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. Very Happy

Regards,
Ram
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Thu Jun 10, 2004 5:07 am    Post subject: Reply with quote

taterhead, your answer is definitely on the right track.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group