Page 1 of 1

What output will come while submit same job twice?

PostPosted: Tue Nov 09, 2010 5:38 pm
by ramesh4mainframes
Hi,

I got a question when i face one interview what type of output will come while submit same job twice.

If it gives abend what type of abend come?

Re: What output will come while submit same job twice?

PostPosted: Tue Nov 09, 2010 5:46 pm
by enrico-sorichetti
what kind of silly question is that ....
we might argue about final overall logic result vs. byte by byte equality
i.e.
submitting twice the compilation for the SAME source will produce
the same overall logic result, a load module ready for execution
the byte by byte result will be different because of
for example timestamps ( look at the sysout and any compiler will write into the title line the date/time of execution )

any output(*) produced by a job will depend ONLY on the program being executed
nothing more, nothing less
abends/return codes will depend ONLY on the program being executed
nothing more, nothing less

(*) extended meaning ... <objects> being written or updated

Re: What output will come while submit same job twice?

PostPosted: Tue Nov 09, 2010 5:53 pm
by Robert Sample
There are too many variables to be able to answer the question:

- does the program check for rerun?
- does the program update a file or database?
- does the job clear out the input file after processing?
- does the job FTP data to a server somewhere?
- does the job do a compile / link?
- how many steps does the job have?
- is the job running under scheduler control?
etc
etc
etc

Another example of a stupid interview question -- no thought went into the question, so no thought needs to go into the answer.

Re: What output will come while submit same job twice?

PostPosted: Wed Nov 10, 2010 2:34 am
by dick scherrer
Hello,

I got a question when i face one interview what type of output will come while submit same job twice.
If this is the actual question asked (not a restatement/rephrasing of the question), the only answer i would give is "It depends".