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 

Help Needed on NDM

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Karumanchi
Beginner


Joined: 13 Mar 2007
Posts: 9
Topics: 3

PostPosted: Fri Apr 13, 2007 1:42 pm    Post subject: Help Needed on NDM Reply with quote

We Have a job which NDM one File. When the job is submitted it tries to transfer the file at first attempt and it fails. It tries second time and it succeeds for the Same Process number. Process number is same for both first and second attempt. First attempt it fails as file is unavailable.

Even it transfers the file at second time , job ultimately abends with NDM failure.

So my ultimate objective is not to abend the job. Any help on this is highly aprreciated.

Thanks!!
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Fri Apr 13, 2007 2:06 pm    Post subject: Reply with quote

I'm confused. Confused

One of the underlying concepts of CONNECT:Direct (I wish using the term NDM would go away) is guaranteed delivery of the data. It's working exactly as it should. If the process that was submitted to the process queue can't deliver the data, it should be placed on hold and requeued in the process queue. After a pre-determined amount of time (as specified by the administrator), the same process should release and make another attempt. This process should continue over and over until a pre-determined threshold is met, after which the process should fail permanently. At this point someone should intervene to determine the cause of the problem.

Your job shouldn't be linked in any way to the status of the process execution. It should end immediately after the DMBATCH step completes. Any dependencies at this point should be handled by built-in controls between the process and your scheduling system software. Let the software do its job.
Back to top
View user's profile Send private message
Karumanchi
Beginner


Joined: 13 Mar 2007
Posts: 9
Topics: 3

PostPosted: Fri Apr 13, 2007 2:17 pm    Post subject: Reply with quote

To clear this confusion am pasting the screenshot.

Code:

//S001     EXEC NDM,PNUSER=TEST,PNPASS=USER,               
//             SNODE=NDMG,                               
//             SNUSER=PBT,SNPASS=AES                       
//IEBGENER.SYSUT1 DD *                                           
FGLPUSH1 PROCESS SNODE=NDMG                               
STEP1    COPY  FROM(SNODE DSN=TEST.MED -   
                     DISP=SHR) -                                 
                COMPRESS PRIME=X'40' -                           
                TO(PNODE DSN=TEST.MAST -               
                   DISP=OLD)                                     
//**                                                             


This step abends and the process number is 01234.
Upon checking the process number, first attempt it fails saying file unavailable and second attempt it is succesful.

Even though second attempt is succesful in transering the file. Job abends.
I don't want this to happen. So please advice.
Back to top
View user's profile Send private message
Karumanchi
Beginner


Joined: 13 Mar 2007
Posts: 9
Topics: 3

PostPosted: Mon Apr 16, 2007 4:43 am    Post subject: Reply with quote

Any suggestions on the above problem would help us in resolving the problem
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Tue Apr 17, 2007 5:09 am    Post subject: Reply with quote

What are abend details when you transfer second time - from job log as well as from Connect:Direct log?
Back to top
View user's profile Send private message Send e-mail
Karumanchi
Beginner


Joined: 13 Mar 2007
Posts: 9
Topics: 3

PostPosted: Tue Apr 17, 2007 6:10 am    Post subject: Reply with quote

NDM process itself is transfering the same file second time when it failed in first attempt since it has a wait time of 1 hour.
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed Jun 20, 2007 10:25 am    Post subject: Reply with quote

I face the same problem. All you have to do is delete the process. there is a option in NDM to delete the process.

You can view the messages in MSG option, on why the process is getting repeated.
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed Jun 20, 2007 10:26 am    Post subject: Reply with quote

Sorry I was talking about Online NDM and not Bacth.
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 -> Utilities 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