I want to connect to IBM mainframe thru VB.net and run jobs present in mainframe directly through VB.net and view the output back.... Can any one please help how to connect to IBM mainframe and run jobs directly through vb.net....
-
2This is entirely dependent on your mainframe and what facilities it makes available to the rest of your enterprise. – RBarryYoung Apr 07 '12 at 22:32
-
We are using IBM mainframe and ISPF as a interface for mainframe – user1271146 Apr 07 '12 at 23:39
-
Could you please be more specific? Do you want to submit JCL from Windows, or submit JCL located in PDS members stored on the mainframe? – zarchasmpgmr Apr 08 '12 at 04:08
-
i just want to submit JCL's stored in PDS member in mainframe.... – user1271146 Apr 08 '12 at 16:09
1 Answers
I presume you are not looking to duplicate the functionality of ISPF GUI mode.
One method would be to use FTP directly to the JES internal reader as discussed in this thread. It is possible that the mainframe security folks will disallow this, I know mine did.
Another method would be to screen scrape ISPF.
Instead of screen scraping ISPF, you could use the submit command in TSO and run SDSF in TSO to retrieve your output. You could also write Rexx or Java to run on the mainframe to give you your output in a form you desire instead of having your VB code conscious of the ISPF and/or SDSF panels.
You could use a CICS web service that submits batch jobs via the SPOOL API, retrieving the results might be more of a challenge. You might have to store the output in a z/OS Unix file and retrieve it from there.

- 10,237
- 1
- 28
- 39
-
All JCL's are stored in PDS member of mainframe...i just want to trigger the job from VB.net...In fact duplicating the functionality of ISPF GUI.....Also i want the result(return code) of the job back in VB.net... – user1271146 Apr 08 '12 at 16:18
-
Along with the TSO SUBMIT command, look at the relatively new SDSF REXX interface. – zarchasmpgmr Apr 08 '12 at 20:21