View previous topic :: View next topic
|
Author |
Message |
shailesh.pawar
New User
Joined: 18 May 2012 Posts: 11 Location: India
|
|
|
|
Hi! I have created a sample job that uses ndm to transfer file from one region to the other( i.e. from test to production). As currently we have not been provided access to production region , just to check whether it runs , I modified the job to transfer file within the same region(i.e. from test to test) where the file will be given some different name(i.e. original file name is unload1 and target file name is unload2) . After running the job , no error is shown but the target file(i.e. unload2) is not getting created. Just want to clarify whether ndm allows this ?? If it allows it , then what can be the reason behind the file not getting created ??
Thanks in Advance !!! |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1049 Location: Richmond, Virginia
|
|
|
|
Any chance there might have been some messages issued? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
maybe if you showed us the control cards used,
we can point to the parameter about which you need education.
just a question,
WTF use NDM to transfer (copy a file from one dsn to another?) |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
NDM allows you to specify the same system as both the PNODE and SNODE. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
superk wrote: |
NDM allows you to specify the same system as both the PNODE and SNODE. |
I know that, that is why I want to see the control cards.
he obviously did not set them up correctly. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1049 Location: Richmond, Virginia
|
|
|
|
nobody here but us mice |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
nobody here but us mice |
Frank's rats have left the buildling already? |
|
Back to top |
|
|
shailesh.pawar
New User
Joined: 18 May 2012 Posts: 11 Location: India
|
|
|
|
I have used following Control Cards :
SIGNON NETMAP=SYSS.NDM.NETMAP -
ESF=YES
SUBMIT DSN=XXXXX.XXX.DATALIB(VLD1TRNS) -
PNODE=ADC1 SNODE=ADC1 -
HOLD=NO -
&FROMDISP=SHR -
&DSN1=XXXXX.XXX.TBXXX.UNLOAD1 -
&DSN2=XXXXX.XXX.TBXXX.UNLOAD3
SIGNOFF
Where VLD1TRNS contains the code :
PROC1 PROCESS PNODE=ADC1 -
SNODE=ADC1
STEP1 COPY TO (SNODE DSN=&DSN2 DISP=NEW) -
FROM (PNODE DSN=&DSN1) |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1049 Location: Richmond, Virginia
|
|
|
|
As I asked a long long time ago (but in this galaxy):
Quote: |
Any chance there might have been some messages issued?
|
Even though you say no "error" is shown, aren't there still messages? |
|
Back to top |
|
|
shailesh.pawar
New User
Joined: 18 May 2012 Posts: 11 Location: India
|
|
|
|
The job gets completed with maxcc = 0 .I observed logs using jhs , there too it does not show any messages that indicate failure of the process !!! |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1049 Location: Richmond, Virginia
|
|
|
|
Right - 2nd time you said no "error" messages. I believe you.
ANY messages? |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1049 Location: Richmond, Virginia
|
|
|
|
What does the Connect:Direct Select Statistics Report say? |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
NDM step writes the details of the transfer to //SYSPRINT DD I think OR //NDMLOG.(Dont have NDM to test it now)
Let us know the messages inside them. |
|
Back to top |
|
|
shailesh.pawar
New User
Joined: 18 May 2012 Posts: 11 Location: India
|
|
|
|
Messages from DMPRINT :
SCIB006I SIGNON COMMAND (CONDENSED) => USERID /NODE = XXXXXXX / ADC1
SCIC000I Connect:Direct - RC=00000000 MSG=SAFA000I NODE=ADC1
SHORT TEXT => SAFA000I Connect:Direct SIGNON process completed.
SCIB007I
COMMAND => SUBMIT DSN=XXXXX.XXX.DATALIB(VLD1TRNS)PNODE=ADC1 SNODE=ADC1 HOLD=NO &FROMDISP=SHR &DSN1=XXXXX.XXX.XXXXX.UNLOAD1 &DSN2=XXXXX.XXX.XXXXX.UNLOAD3
SCIC000I Connect:Direct - RC=00000000 MSG=SSPA001I NODE=ADC1
SCIB009I SUBMITTED PROCESS NUMBER 00034436
SHORT TEXT => SSPA001I Submit process successful
SCIB007I COMMAND => SIGNOFF
SCIC000I Connect:Direct - RC=00000000 MSG=SVTA003I NODE=ADC1
SHORT TEXT => SVTA003I Interactive user has been logged off. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
This might sound silly, but can you try DISP=(NEW,CATLG,DELETE)
instead of DISP=NEW.. worth a shot. |
|
Back to top |
|
|
shailesh.pawar
New User
Joined: 18 May 2012 Posts: 11 Location: India
|
|
|
|
Messages from NDMCMDS :
04:04:34.35 SCANNING FOR CASE KEYWORD
04:04:34.35 LENGTH OF STRING: 40
04:04:34.35 STRING BEING SCANNED: SIGNON NETMAP=SYSS.NDM.NETMAP ESF=YES
04:04:34.35 SIGNON COMMAND FOUND
04:04:34.35 GLOBAL DEFAULT SAYS FOLD (CASE=NO)
04:04:34.35 CD/API VER.RLSE.MOD= 50,000 PUT LEVEL=0000
04:04:34.35 API NETMAP = SYSS.NDM.NETMAP
04:04:34.56 RESETTING CASE FLAGS
04:04:34.58 SCANNING FOR CASE KEYWORD
04:04:34.58 LENGTH OF STRING: 152
04:04:34.58 STRING BEING SCANNED:
SUBMIT DSN=XXXXX.XXX.DATALIB(VLD1TRNS) PNODE=ADC1 SNODE=ADC1 HOLD=NO &FROMDISP=SHR &DSN1=XXXXX.XXX.XXXXX.UNLOAD1 &DSN2=XXXXX.XXX.XXXXX.UNLOAD3
04:04:34.58 GLOBAL DEFAULT SAYS FOLD (CASE=NO)
04:04:34.62 SCANNING FOR CASE KEYWORD
04:04:34.62 LENGTH OF STRING: 100
04:04:34.62 STRING BEING SCANNED:
STEP1 COPY TO(SNODE DSN=XXXXX.XXX.XXXXX.UNLOAD3 DISP=NEW) FROM(PNODE DSN=XXXXX.XXX.XXXXX.UNLOAD1)
04:04:34.62 GLOBAL DEFAULT SAYS FOLD (CASE=NO)
04:04:34.62 DMCBCOPY D1DDSN SET BLKSIZE=
04:04:34.62 DMCBCOPY D1NCP=... D1FLAG7=00
04:04:34.62 RESETTING CASE FLAGS
04:04:34.63 SCANNING FOR CASE KEYWORD
04:04:34.63 LENGTH OF STRING: 6
04:04:34.63 STRING BEING SCANNED: PEND
04:04:34.63 GLOBAL DEFAULT SAYS FOLD (CASE=NO)
04:04:34.63 RESETTING CASE FLAGS
04:04:34.64 RESETTING CASE FLAGS
04:04:34.66 SCANNING FOR CASE KEYWORD
04:04:34.66 LENGTH OF STRING: 9
04:04:34.66 STRING BEING SCANNED: SIGNOFF
04:04:34.66 GLOBAL DEFAULT SAYS FOLD (CASE=NO)
04:04:34.66 API NETMAP = SYSS.NDM.NETMAP
04:04:34.70 RESETTING CASE FLAGS |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
you need to find the 'messages' from the PROCESS NUMBER 00034436
which will not be in your job.
you are getting an rc=0 based on the fact that you have a syntax error-free
submit.
the actual work is done by the NDM started task which received your request for transfer,
and logged it as PROCESS NUMBER 00034436.
you have not shown us the info for the ndm proccing of PROCESS NUMBER 00034436
which again, will not be found in your job. |
|
Back to top |
|
|
kratos86
Active User
Joined: 17 Mar 2008 Posts: 148 Location: Anna NGR
|
|
|
|
Shailesh,
Go to ":Connect:Direct for z/OS" and under the option SS "VIEW STATISTICS FOR A COMPLETED PROCESS" provide your process number. It will list you the log, from there you can confirm whether the NDM is actually successful.
Generally when you submit a NDM job, Connect direct process is initiated and before the file is transferred, job completed with successful RC. So with the return code of job we cannot say the file transfer is success. You need to check the process number to confirm it. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1049 Location: Richmond, Virginia
|
|
|
|
Message SSPA001I merely says that the submitted process was queued.
These processes are asynchronous, so your job will not know what happened.
Select Statistics Report please? |
|
Back to top |
|
|
|