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
 

 

To submit a job in a dataset

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

New User


Joined: 07 Apr 2008
Posts: 64
Location: chennai

PostPosted: Tue Jun 10, 2008 9:39 am    Post subject: To submit a job in a dataset
Reply with quote

Hi,

I create a JCL in a PDS member using a rexx tool. The rexx program is submitted in batch job and member gets created in run time. I want to sunsequently submit the same provided there are no errors in the jcl as created in the member.

How to do the same.

Thanks
Back to top
View user's profile Send private message

HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Tue Jun 10, 2008 10:45 am    Post subject: Reply to: To submit a job in a dataset
Reply with quote

may be you can use the below command in the next step...

ADDRESS TSO "SUBMIT '"DSN"("JNAME")'"
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: Tue Jun 10, 2008 1:23 pm    Post subject:
Reply with quote

Hello Srini,

How does that ensure there are no jcl errors prior to submitting?


vpr,

I'd suggest forgetting the "jcl check before submit". Because the jcl is being generated, there should be no errors once the code is debugged.
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Tue Jun 10, 2008 5:22 pm    Post subject: Reply to: To submit a job in a dataset
Reply with quote

Don't think even scheduling tool also give checks even job.

If jcl generated needs to check I guess we may use other tools like..jclprepe etc..

didn't think in depth dick
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Tue Jun 10, 2008 5:35 pm    Post subject: Reply to: To submit a job in a dataset
Reply with quote

I agree with Dick' s reply
Quote:
...Because the jcl is being generated, there should be no errors once the code is debugged...


and if an error comes out it simply means that somebody has messed out the environment ...
so it' s time to debug again icon_biggrin.gif
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 4 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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