What output will come while submit same job twice?

ramesh4mainframes
Posts: 32
Joined: Mon Jun 07, 2010 3:58 pm
Skillset: JCL COBOL VSAM DB2
Referer: MY Faculty
Location: Hyderabad

What output will come while submit same job twice?

Postby ramesh4mainframes » Tue Nov 09, 2010 5:38 pm

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?
Thanks,
RamS

enrico-sorichetti
Global moderator
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
Referer: www.ibmmainframes.com

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

Postby enrico-sorichetti » Tue Nov 09, 2010 5:46 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

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

Postby Robert Sample » Tue Nov 09, 2010 5:53 pm

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.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

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

Postby dick scherrer » Wed Nov 10, 2010 2:34 am

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".
Hope this helps,
d.sch.


  • Similar Topics
    Replies
    Views
    Last post