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
 

 

Submit JOB from Easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 158
Location: India

PostPosted: Wed Apr 11, 2012 12:53 pm    Post subject: Submit JOB from Easytrieve
Reply with quote

Hi All,

I am in need of submitting job from easytrieve program. Can this be possible?

My requirement is, I need to submit number of jobs based on my input records. For each input record I need to create a separate report. Currently I am doing this manually like if there are 10 input records then I will edit the and submit the ten times.

We are not allowed to use REXX program. So I am left with Easytrieve option.

Can anyone help me in this regard.

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

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Wed Apr 11, 2012 1:03 pm    Post subject: Reply to: Submit JOB from Easytrieve
Reply with quote

I'm not exactly sure what you are asking.

You have an input file with 10 records. Each of those records needs to generate a report.

Is that it?

Is it the same report, or 10 different reports, or some mix?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Apr 11, 2012 1:19 pm    Post subject: Reply to: Submit JOB from Easytrieve
Reply with quote

using <SORT> or PL/I or COBOL You would simply write 80 bytes card images of the JCL to a sequential dataset whose DD would look like ...
Code:
//<ddname> DD SYAOUT=(<approved sysout class>,INTRDR)

( see the jcl manuals - ask Your support, for the lowly details )

why not use the same approach with easytrieve
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Apr 11, 2012 1:35 pm    Post subject:
Reply with quote

Quote:

SYAOUT


What is that Enrico? icon_eek.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Apr 11, 2012 1:37 pm    Post subject: Reply to: Submit JOB from Easytrieve
Reply with quote

just a test to see if You were paying attention icon_wink.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Apr 11, 2012 1:40 pm    Post subject:
Reply with quote

36_2_35.gif
Back to top
View user's profile Send private message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 158
Location: India

PostPosted: Wed Apr 11, 2012 3:10 pm    Post subject:
Reply with quote

Hi,

Thank you all for your kind reply.

Hi Bill,

Yes, I need to create N no. of different reports for the N no. of input records. I planned to create job with 250 steps for 250 input records and submit the job and create another job for another set of 250 records.

This I need to do in easytrieve program. Any Advise Please.

Hi Enrico,

I will see the COBOL logic and let you know.

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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Wed Apr 11, 2012 3:20 pm    Post subject: Reply to: Submit JOB from Easytrieve
Reply with quote

Quote:
Is it the same report, or 10 different reports, or some mix?


Here, I mean is the report the same format, going to, for instance. up to 250 external clients, or are the 250 reports different in the format of their content?

The reason for asking is to avoid all the tushing about with submitting extra jobs.
Back to top
View user's profile Send private message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 158
Location: India

PostPosted: Wed Apr 11, 2012 3:24 pm    Post subject:
Reply with quote

Hi Bill,

Report format is same for all the clients.

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

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Apr 11, 2012 3:37 pm    Post subject:
Reply with quote

Print 250 copies, and let output distribution take care of sending the stuff to the clients.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Wed Apr 11, 2012 4:03 pm    Post subject: Reply to: Submit JOB from Easytrieve
Reply with quote

Following on from Peter, how do you do your report distribution? Do you mean you want different distribution codes on the 250 jobs you are thinking of submitting? Different distribution methods (some print, some electronic, etc)?

You can re-start page numbers in reports. If you want a "banner page" between clients, you can do that with a report procedure. If you are generally dealing with output for multiple clients, there is normally a "site" method to do it, rather than everyone inventing their own method. If all client output results in up to 250 additional jobs being submitted, that would be weird...

So, more detail from your end please. Is it the only multi-client report from your site? Is it just the first of potentially many? How are the reports to be actually distributed? Anything else you feel might be helpful.
Back to top
View user's profile Send private message
Jose Mateo

Active User


Joined: 29 Oct 2010
Posts: 110
Location: Puerto Rico

PostPosted: Wed Apr 18, 2012 1:45 am    Post subject:
Reply with quote

Good afternoon to all!

This is a real twister, first you that the reports are different for different clients and then you mention that all reports have the same format. am not not clear but 'yes' you could do it thru Easytrieve. Thru Easytrieve you could have multiple jobs to process multiple files in one run or you could have one job process N records generating up to 255 reports in one run.
Back to top
View user's profile Send private message
Jon D Knutson

New User


Joined: 27 Jun 2012
Posts: 4
Location: usa

PostPosted: Thu Jun 28, 2012 10:10 pm    Post subject:
Reply with quote

Have you tried submitting to the internal reader?
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm
No new posts RACF Easytrieve Plus macro Susan Jackson CA Products 0 Fri Jun 03, 2016 8:25 pm
No new posts Query regarding Easytrieve program shanudarling All Other Mainframe Topics 2 Wed Jan 06, 2016 5:33 pm
No new posts Adjust Heading Position in Easytrieve thesumitk CA Products 4 Mon Dec 21, 2015 3:26 pm


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