View previous topic :: View next topic
|
Author |
Message |
subdalal
New User
Joined: 27 Sep 2010 Posts: 21 Location: Boudh
|
|
|
|
We can code the Easytrieve in Instream (SYSIN) of a JCL.
We can also complile the Easytrieve and give the Load Module in the STEP (EXEC) of JCL.
Is there any difference between the two methods ? Which method is more feasible ? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
if easytrieve provided the two options it just means that both are feasible
using a compiled object will save at each execution the overhead of compilation |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
"more feasible" is an interesting concept :-) What might you mean by that?
enrico is spot on.
One reason for the compile'n'run is for a "quick'n'dirty" where the inital establishment of a new program in your source management system can be "put off" until such a time as it doesn't get in the way of producing the results. However, after that, make sure it gets done properly, otherwise there will be a mess in the future ("I know I had that program somewhere" or "I'm from Audit, someone says you changed a file on 3 February in 2006, can you show me what you did?"). |
|
Back to top |
|
|
subdalal
New User
Joined: 27 Sep 2010 Posts: 21 Location: Boudh
|
|
|
|
So using the Load Module method will be better. Please let me know if I am wrong. Thanks |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
For a Production program, better, obligatory.
For non-Production, there is some added "convenience" in using SYSIN with DD *, but it is then entirely up to you to "remember" "where did I put that..?", which can be a terrible "payback" for the "convenience". |
|
Back to top |
|
|
Gary McDowell
Active User
Joined: 15 Oct 2012 Posts: 139 Location: USA
|
|
|
|
In my current IT shop production Easytrieves must be compiled. I do use the SYSIN method for my own quick development runs. |
|
Back to top |
|
|
|