View previous topic :: View next topic |
Author |
Message |
Deaf Smith Beginner
Joined: 22 Jul 2008 Posts: 18 Topics: 12
|
Posted: Fri Jan 09, 2009 9:30 am Post subject: Bat files and sending JCL to JES |
|
|
I use a BATCH file to send a JCL to the mainframe. The users have to put in userid and password in the batch file and this is part of the FTP command file that then sends the JCL to the Z10.
Well sometimes they fail to put in the correct name or password and the FTP fails. But they don't know it failed.
Is there some error checking that will detect a failed FTP and then allow the batch file to tell them via echo in the bat file OR the mainframe that it failed?
Thanks! _________________ Deaf |
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Jan 09, 2009 6:51 pm Post subject: |
|
|
You can use the same techniques I posted in your previous question if you want to use a batch file (.cmd) but Rexx would be a better choice because error handling is easier to implement than in a batch file. _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
|
|
|