Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Using ndm to tranfer file within the same region

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
shailesh.pawar

New User


Joined: 18 May 2012
Posts: 11
Location: India

PostPosted: Fri May 18, 2012 5:49 pm    Post subject: Using ndm to tranfer file within the same region
Reply with quote

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

Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Fri May 18, 2012 6:27 pm    Post subject:
Reply with quote

Any chance there might have been some messages issued?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri May 18, 2012 6:28 pm    Post subject:
Reply with quote

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

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri May 18, 2012 6:55 pm    Post subject: Reply to: Using ndm to tranfer file within the same region
Reply with quote

NDM allows you to specify the same system as both the PNODE and SNODE.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri May 18, 2012 7:07 pm    Post subject: Re: Reply to: Using ndm to tranfer file within the same regi
Reply with quote

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

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Fri May 18, 2012 7:10 pm    Post subject:
Reply with quote

nobody here but us mice
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Fri May 18, 2012 7:42 pm    Post subject:
Reply with quote

Quote:
nobody here but us mice
Frank's rats have left the buildling already?
Back to top
View user's profile Send private message
shailesh.pawar

New User


Joined: 18 May 2012
Posts: 11
Location: India

PostPosted: Mon May 21, 2012 9:10 am    Post subject: Reply to: Using ndm to tranfer file within the same region
Reply with quote

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

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Mon May 21, 2012 4:16 pm    Post subject:
Reply with quote

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
View user's profile Send private message
shailesh.pawar

New User


Joined: 18 May 2012
Posts: 11
Location: India

PostPosted: Mon May 21, 2012 4:25 pm    Post subject: Reply to: Using ndm to tranfer file within the same region
Reply with quote

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

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Mon May 21, 2012 4:29 pm    Post subject:
Reply with quote

Right - 2nd time you said no "error" messages. I believe you.

ANY messages?
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Mon May 21, 2012 4:30 pm    Post subject:
Reply with quote

What does the Connect:Direct Select Statistics Report say?
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Mon May 21, 2012 4:32 pm    Post subject:
Reply with quote

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
View user's profile Send private message
shailesh.pawar

New User


Joined: 18 May 2012
Posts: 11
Location: India

PostPosted: Mon May 21, 2012 4:42 pm    Post subject: Reply to: Using ndm to tranfer file within the same region
Reply with quote

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

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Mon May 21, 2012 4:46 pm    Post subject:
Reply with quote

This might sound silly, but can you try DISP=(NEW,CATLG,DELETE)
instead of DISP=NEW.. worth a shot.
Back to top
View user's profile Send private message
shailesh.pawar

New User


Joined: 18 May 2012
Posts: 11
Location: India

PostPosted: Mon May 21, 2012 4:48 pm    Post subject: Reply to: Using ndm to tranfer file within the same region
Reply with quote

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

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon May 21, 2012 4:59 pm    Post subject:
Reply with quote

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

Active User


Joined: 17 Mar 2008
Posts: 148
Location: Anna NGR

PostPosted: Mon May 21, 2012 5:01 pm    Post subject:
Reply with quote

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

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Mon May 21, 2012 5:05 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us