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
 

 

Connect:Direct(NDM) logs using DMBATCH !!!!!!

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

New User


Joined: 10 Jul 2006
Posts: 23

PostPosted: Sat Nov 15, 2008 11:13 pm    Post subject: Connect:Direct(NDM) logs using DMBATCH !!!!!!
Reply with quote

1. Are the NDM logs stored anywhere else apart from ....NDM.STAT?

2. Using SEL STAT verb, the data retrieved is in report format. Is it possible to retrieve the complete information of a file transfer in a single row(which might be input for this report display).

3. If the answer to the question-2 is "NO" then can anyone share the code to copy only the "COPY STEP" thru a batch.


-Regards
Poshabrar
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sat Nov 15, 2008 11:29 pm    Post subject:
Reply with quote

Hi,

I don't work with NDM processes much these days, may be a JOB shown below can be of your use
Code:
//*                                                                 
//STEP1    EXEC PGM=DMBATCH,PARM='YYSLYNN'                         
//DMMSGFIL DD ...NDM.MSG,DISP=SHR               
//DMNETMAP DD ...NDM.NETMAP,DISP=SHR             
//DMPUBLIB DD ...PROCESS.LIB,DISP=SHR               
//DMPRINT  DD   SYSOUT=*                                           
//NDMCMDS  DD   SYSOUT=*                                           
//SYSIN    DD   *                                                   
  SIGNON ESF=YES                                                   
  SEL STAT WHERE (STARTT=(12/20/06,00:00:00)) TYPE=CT TAB           
  SIGNOFF                                                           
//*                                                                 
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sat Nov 15, 2008 11:33 pm    Post subject:
Reply with quote

Hello,

You might like to check these links as well and hopefully Kevin will join in this thread also..Good Luck.. icon_smile.gif

http://www.ibmmainframes.com/about30092.html
http://ibmmainframes.com/about32211.html
Back to top
View user's profile Send private message
poshabrar

New User


Joined: 10 Jul 2006
Posts: 23

PostPosted: Sat Nov 15, 2008 11:50 pm    Post subject: Reply to: Connect:Direct(NDM) logs using DMBATCH !!!!!!
Reply with quote

Thanks anuj for your quick response..... I already have tried the JCL that was shared by you... the output of it would be something like:
Code:
*****************************************************

NIH.NDM                    SELECT STATISTICS              DATE : 06/01/1998       

==============================================================================

 

Function     => COPY                  Start Time => 18:02:41                   

Process Name => SEND801               Stop Time  => 18:03:57                   

Process Num  => 8,326                 Comp Code  => 00000000                   

Comp Msg   => SCPA000I                                                         

Userid       => VVG1YY9                                                         

Primary      => NDM.STATE            Step Name  => STEP1                       

                                                                               

From ( Pnode                                                                   

Dsn=CCIS.801.DATA)                                                             

         recs => 0                     blks => 2,123                           

    I/O BYTES => 394,732                                                       

   VTAM BYTES => 282,944                                                       

    Cmpr Perc => 28.3%                                                         

       VOL=SER=> WEL125                                                         

To   ( Snode                                                                   

Dsn=VVG1IWI.PCCIS.NDM.MD.HUB.D980601.T1520)     

         recs => 0                     blks => 2,123                           

    I/O BYTES => 394,732                                                       

   VTAM BYTES => 282,944                                                       

    Cmpr Perc => 28.3%                                                         

       VOL=SER=> DSA105                                                         

 
 ****************************************************

I am looking for an output something like:

Code:
PROceSSNAME   coMPCODE  SOURCE_FILE_NAME  DeST_FILENAME                                FILE_SIZE
SEND801      0000000    CCIS.801.DATA   VVG1IWI.PCCIS.NDM.MD.HUB.D980601.T1520        394,732

*******************************************************
This is automatically in Report format.... but I need to find the dataset where this informtion is stored(As I want to run some other jobs taking the stats as input file) I hope I have presented my requirements better this time...

(Just FYI xxx.NDM.STAT doesn't have the information that I am looking for.)

I would really appreicate anyones help in this regard.

Edited: Please use BBcode when You post some code, that's rather readable...Anuj
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Nov 16, 2008 12:14 am    Post subject:
Reply with quote

Hello,

One thing you can do is read the "output" created by the JCL from Anuj and generate whatever format report/output you want.
Back to top
View user's profile Send private message
poshabrar

New User


Joined: 10 Jul 2006
Posts: 23

PostPosted: Sun Nov 16, 2008 11:27 am    Post subject: Reply to: Connect:Direct(NDM) logs using DMBATCH !!!!!!
Reply with quote

Thats true.... I agree.... but why does connect direct show the logs directly in the form of a report. It should get the input from somewhere right.... Does anyone have the Connect:Direct userguide/admin guide which has this information as to where exactly are the stats stored in a non-report format.(before they are displayed in the report format....)

Also let me know if the Userguide is availble anywhere for download.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Nov 16, 2008 11:50 am    Post subject:
Reply with quote

Hello,

Quote:
Also let me know if the Userguide is availble anywhere for download.
If your organization is licensed for the product, you should be able to download it from Sterling. Here's the link to the start of their support site:
http://www.sterlingcommerce.com/Services/Customer-Support

Quote:
It should get the input from somewhere right....
Many products store info they capture in some proprietary format. If you open an issue with support, they could provide specific guidance (as well as help get the documentation).
Back to top
View user's profile Send private message
poshabrar

New User


Joined: 10 Jul 2006
Posts: 23

PostPosted: Sun Nov 16, 2008 7:20 pm    Post subject:
Reply with quote

Does anyone has any idea where the stats for a file transmission are stored in connect direct.
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: Mon Nov 17, 2008 10:33 pm    Post subject: Reply to: Connect:Direct(NDM) logs using DMBATCH !!!!!!
Reply with quote

The statistics are stored in ESDS VSAM datasets. Look into the NDM Initialization parm member (this will be specified in the NDM JCL) for the list of C D Dataset Names:

//NDM PROC CDPREF='HLQ.STERLING',PARMMEM='NDMINT05'
//NDM EXEC PGM=DMINIT,PARM='&CDPREF..PARMLIB(&PARMMEM)',
// REGION=0M

You should see an entry like:

STAT.DSN.BASE = HLQ.STERLING.NDM.STATS

or something similar. Those are the datasets you can read directly. I can tell you from past experience that the exact layout is proprietary and that Sterling Commerce will not disclose it, so you'll have to figure out how to extract the details you need on your own.

Good luck.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Nov 17, 2008 11:26 pm    Post subject:
Reply with quote

Hello,

Quote:
so you'll have to figure out how to extract the details you need on your own.
A caution from similar experiences with other proprietary info. . .

The format and content may be changed without warning causing your code to at best abend and at worst run giving wrong results. The vendor will keep their "tools" in sync, but once again you would be on your own.

fwiw.

Maybe if enough users request a data extract tool, one might be provided.
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: Tue Nov 18, 2008 12:35 am    Post subject:
Reply with quote

dick scherrer wrote:
Maybe if enough users request a data extract tool, one might be provided.


There is one available at additional cost (Connect:Direct Activity Reporting System). It requires SAS to be available to process the results.
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 24x7 online logs using DSN1LOGP (simi... SRICOBSAS DB2 3 Thu Aug 18, 2016 11:52 am
No new posts DB2 CONNECT query mistah kurtz DB2 3 Fri Jul 15, 2016 6:37 pm
No new posts Help Needed with View Direct shailesh_do CA Products 2 Wed Jul 13, 2016 10:39 am
No new posts Connect Direct details shankarm IBM Tools 2 Sat Feb 20, 2016 7:25 pm
No new posts IMS DC to Connect MQ mfgopal IMS DB/DC 1 Tue Jan 05, 2016 3:30 am


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