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
 

 

How Trigger the job without CA-7

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

New User


Joined: 25 May 2007
Posts: 61
Location: Coimbatore

PostPosted: Tue Aug 14, 2007 8:36 am    Post subject: How Trigger the job without CA-7
Reply with quote

Hi,

I just want to set the Test Cycle like my production cycle.
In prodction they schiduled by CA-7, But i just want to submit in my own. So how to trigger the another job from my main job with out CA-7.

Any thing like Internel Reader.... Please explain clearly...
Back to top
View user's profile Send private message

stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Tue Aug 14, 2007 8:43 am    Post subject:
Reply with quote

Why not have them schedule a full test cycle as well?
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Aug 14, 2007 9:05 am    Post subject:
Reply with quote

yes you can use internal reader - for this you got to change JCL's

There should be CA 7 for test environment also - Check
Back to top
View user's profile Send private message
Pons

New User


Joined: 25 May 2007
Posts: 61
Location: Coimbatore

PostPosted: Tue Aug 14, 2007 10:57 am    Post subject:
Reply with quote

Hi Stodolas,

I dont want to schedule the whole cycle. i just want the important jobs for my testing purpose. Please let me know how we submit the job from another job?

Hi Devzee,

We dont have an access to schdule the job form CA-7. That what i want to make it using JCL, I have an JCL with Changes. but i dont know how to code the Internal Reader for another job...

Please Explain...
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Aug 14, 2007 11:01 am    Post subject:
Reply with quote

use IEBGENER
//SYSUT1 DD DSN=2ndJCL
//SYSUT2 DD SYSOUT=(A,INTRDR)
Back to top
View user's profile Send private message
Pons

New User


Joined: 25 May 2007
Posts: 61
Location: Coimbatore

PostPosted: Tue Aug 14, 2007 11:26 am    Post subject: Re: How Trigger the job without CA-7
Reply with quote

Thanks Devzee,

This what i needed. Ok. One more thing, how can i check the previous 2nd job return code. If i just check the step.rc=, then it will take the IEBGENER return code only right. Please advice....
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 14, 2007 3:44 pm    Post subject:
Reply with quote

Quote:
check the step.rc=, then it will take the IEBGENER return code only right.


You define which steps you wish to check the RC from in your CC coding

COND=((0,NE,STEP1),(5,LE,STEP2)..........................)
Back to top
View user's profile Send private message
Pons

New User


Joined: 25 May 2007
Posts: 61
Location: Coimbatore

PostPosted: Tue Aug 21, 2007 11:05 pm    Post subject: Reply to: How Trigger the job without CA-7
Reply with quote

Hi expat,

I didn't get you. if give the cond==(0,NE,STEP1)
then it will check the return code of IEBGENER only right.

I just want to check the return code of INTRDR.
Using SYSUT1 i submit the job. Then how can i check the internal
reader job return code....
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: Wed Aug 22, 2007 12:17 am    Post subject:
Reply with quote

Hello,

I'd suggest you define what jobs you want to run and their dependencies and use the ca-7 or hand-hold your test and submit what you want run as each process successfully completes.

It seems a waste of time to "roll your own" scheduler for this.

There is no "internal reader" return code. Once the gener copies the jcl from the dataset to the system, it becomes a job by itself - there is no backward communication to the job containing the gener that submitted it.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Aug 22, 2007 12:18 am    Post subject: Re: How Trigger the job without CA-7
Reply with quote

Pons wrote:
Hi,

I just want to set the Test Cycle like my production cycle.
In prodction they schiduled by CA-7, But i just want to submit in my own. So how to trigger the another job from my main job with out CA-7.

Any thing like Internel Reader.... Please explain clearly...


You could add a step to your job to submit the next job, I think there are examples on the forum if you search for them.
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: Wed Aug 22, 2007 3:12 am    Post subject:
Reply with quote

Hello,

Each of your jobs would have a new step added at the end (GENER to the internal reader) that would submit the "next" job. There would be no backward communication or testing. As each job successfully completed, the "next" one would be submitted.

This means that if your jobs all ran successfully, the entire set of jobs would be run one behind the other as a result of submitting only the first job. Before turning this new set of jobs over to production, the "last" step would need to be removed.
Back to top
View user's profile Send private message
jasorn

Active User


Joined: 12 Jul 2006
Posts: 153
Location: USA

PostPosted: Thu Aug 23, 2007 5:20 pm    Post subject:
Reply with quote

There are a couple ways I know to 'roll your own' scheduler. Apparently lots of shops let you use ca7 for test environments. None I've worked in have icon_smile.gif

Ways I know?

1. Call one job from the last as suggested in this thread.
2. Create a schedule from an app on another platform. This app could be on unix or windows or anything that can submit the job via ftp. Using something like access(eegads!) you can set up a pretty easy and powerful test scheduling system.
3. Baby sit the jobs(i.e. run them manually)
Back to top
View user's profile Send private message
Pons

New User


Joined: 25 May 2007
Posts: 61
Location: Coimbatore

PostPosted: Fri Aug 24, 2007 10:20 pm    Post subject:
Reply with quote

Thanks for your suggestings.

Thanks dick, Now i understood clearly. I try with my test cycle in different way...
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: Sat Aug 25, 2007 12:58 am    Post subject:
Reply with quote

You're welcome.

Let us know if there are new questions.
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 Application not run by time HH:MM tri... jzhardy IBM Tools 1 Sun Apr 09, 2017 3:22 pm
No new posts How to track incoming input files tha... shreya19 JCL & VSAM 6 Thu Feb 25, 2016 6:15 pm
No new posts Issue in trigger vickey_dw DB2 3 Wed Feb 10, 2016 5:41 pm
No new posts Trigger a mainframe job by mail Praveen Thenraj IBM Tools 8 Wed Jan 13, 2016 12:05 pm
No new posts Setting up a new trigger krisprems DB2 4 Thu Dec 24, 2015 10:33 pm


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