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

Submit JOB from Easytrieve


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 184
Location: India

PostPosted: Wed Apr 11, 2012 12:53 pm
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Apr 11, 2012 1:03 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Wed Apr 11, 2012 1:19 pm
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: 2481
Location: Netherlands, Amstelveen

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

Quote:

SYAOUT


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

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Wed Apr 11, 2012 1:37 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Apr 11, 2012 1:40 pm
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: 184
Location: India

PostPosted: Wed Apr 11, 2012 3:10 pm
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Apr 11, 2012 3:20 pm
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: 184
Location: India

PostPosted: Wed Apr 11, 2012 3:24 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Apr 11, 2012 3:37 pm
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Apr 11, 2012 4:03 pm
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: 121
Location: Puerto Rico

PostPosted: Wed Apr 18, 2012 1:45 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Overwriting SSN Digits in Easytrieve ... CA Products 0
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Count the number of characters in a f... CA Products 1
No new posts File matching functionality in Easytr... DFSORT/ICETOOL 14
No new posts How to submit multiple jobs with parm... JCL & VSAM 3
Search our Forums:

Back to Top