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
 

 

NDM from Mainframe and trigger .bat file on windows

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Newton

New User


Joined: 28 Jul 2006
Posts: 7
Location: Hartford

PostPosted: Fri Aug 18, 2006 11:47 pm    Post subject: NDM from Mainframe and trigger .bat file on windows
Reply with quote

I have a unique requirement,
Transfer file from Mainframe to Windows and then trigger .bat file. This .bat file need to be trigger by NDM.

First part of this requirement was simple, so that is done. Now for second part, calling .bat file through NDM, is taking my time and energy.

Is there any way we can trigger .bat file from Mainframe using NDM?
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: Sat Aug 19, 2006 1:46 am    Post subject: Re: NDM from Mainframe and trigger .bat file on windows
Reply with quote

Could you at least post your current RUN JOB code from within your process?
Back to top
View user's profile Send private message
Newton

New User


Joined: 28 Jul 2006
Posts: 7
Location: Hartford

PostPosted: Wed Aug 23, 2006 2:02 am    Post subject: Re: NDM from Mainframe and trigger .bat file on windows
Reply with quote

Right now, there is only normal NDM job code. And i m looking for technical assistance for triggering .bat file on windows while NDMing file from Mainframe
Back to top
View user's profile Send private message
cristalclearwaters

New User


Joined: 21 Aug 2006
Posts: 13

PostPosted: Wed Sep 06, 2006 9:19 pm    Post subject:
Reply with quote

See if you can use this (you may have to play with the syntax). Under your DSN02 add:
CMD01='PGM(directory:folder\progname.bat)'
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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