View previous topic :: View next topic
|
Author |
Message |
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Three general queris:
1. Is there any way which can tell the RC of each step in JOB?
2. At my site, there is one JOB in production which ends with RC=0 & with RC= 4 at times. For this JOB, how can I know which step/s RC is 4?
3. If step is found, then why the same step gives different RC at differernt times, while the outputs are same in both the cases? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Look at the jeslog for the job |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Thanks expat.
I could find out one more method, in JHS, enter 's' on command line & press ENTER key, it'll list all the steps with their respective RCs.
anuj_model wrote: |
Hi,
3. If step is found, then why the same step gives different RC at differernt times, while the outputs are same in both the cases? |
By the way, any answer for above ? |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi anuj_model !
Perhaps the RC was set by the programm of that step depending on a special condition. Could be a warning or something like that. Did you had a look at that programm?
Regards, UmeySan |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
UmeySan wrote: |
Hi anuj_model !
Perhaps the RC was set by the programm of that step depending on a special condition. Could be a warning or something like that.
Regards, UmeySan |
Yeah actually, this is what I thought.
I was expecting
1. May be step XCOM's some file, depending upon the pass/fail of XCOM RC is set. But it's not there.
2. May be they are checking empty/non-empty files, if empty RC=4. This is also not there.
all the output DSNs are with DISP=(,catlg,delete).
Due to these, above queris came in mind. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi UmeySan,
You were right, batch program called in that step moves +4 in return code variable based on the status of some flags.
A scrap of code is:
Code: |
EVALUATE TRUE
WHEN TYPE-16-AT-END AND
TYPE-35-AT-END
MOVE +4 TO RETURN-CODE
.
. |
Thanks for the suggestion, but I worked on this like a tube-light..! |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Tube-light? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Tube-light takes time to switch-on, it blinks enough before it lights.
I've taken enough time to implement the idea told by UmeySen (see the date of posts)..so I said I worked like a tube-light in this case.
I think, that is why we use 'bulb' sign in symbols like ' '..which shows "I clicked the idea". Because ideas are supposed to click instantly so we use bulb instead of 'tube-light'
I hope you got it.. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Oh, so tube-light means slow. I guess I'm also working in tube-light mode. Sounds nicer than slow. Thanks. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
You are welcome..! |
|
Back to top |
|
|
|