Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 161
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: 7314

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: 10374
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: 2445
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: 10374
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: 2445
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: 161
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: 7314

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: 161
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: 2445
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: 7314

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: 112
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 How many people submit job? Pedro All Other Mainframe Topics 2 Thu Oct 26, 2017 2:59 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us