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

To submit a job in a dataset


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

PostPosted: Tue Jun 10, 2008 10:45 am
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jun 10, 2008 1:23 pm
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: 194
Location: India

PostPosted: Tue Jun 10, 2008 5:22 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Jun 10, 2008 5:35 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top