IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

NDM from Mainframe and trigger .bat file on windows


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Sat Aug 19, 2006 1:46 am
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top