View previous topic :: View next topic |
Author |
Message |
Karumanchi Beginner
Joined: 13 Mar 2007 Posts: 9 Topics: 3
|
Posted: Fri Apr 13, 2007 1:42 pm Post subject: Help Needed on NDM |
|
|
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 |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Fri Apr 13, 2007 2:06 pm Post subject: |
|
|
I'm 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 |
|
 |
Karumanchi Beginner
Joined: 13 Mar 2007 Posts: 9 Topics: 3
|
Posted: Fri Apr 13, 2007 2:17 pm Post subject: |
|
|
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 |
|
 |
Karumanchi Beginner
Joined: 13 Mar 2007 Posts: 9 Topics: 3
|
Posted: Mon Apr 16, 2007 4:43 am Post subject: |
|
|
Any suggestions on the above problem would help us in resolving the problem |
|
Back to top |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Tue Apr 17, 2007 5:09 am Post subject: |
|
|
What are abend details when you transfer second time - from job log as well as from Connect:Direct log? |
|
Back to top |
|
 |
Karumanchi Beginner
Joined: 13 Mar 2007 Posts: 9 Topics: 3
|
Posted: Tue Apr 17, 2007 6:10 am Post subject: |
|
|
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 |
|
 |
vak255 Intermediate

Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Wed Jun 20, 2007 10:25 am Post subject: |
|
|
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 |
|
 |
vak255 Intermediate

Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Wed Jun 20, 2007 10:26 am Post subject: |
|
|
Sorry I was talking about Online NDM and not Bacth. |
|
Back to top |
|
 |
|
|