What is divide by zero rule.
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 94
- Joined: Sun Jul 18, 2010 11:35 pm
What is divide by zero rule.
What is divide by zero rule?
Why is it implimented ?
How is it implimented?
Why is it implimented ?
How is it implimented?
Not really any kind of explicit DataStage question, is it? So...
http://en.wikipedia.org/wiki/Division_by_zero
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 94
- Joined: Sun Jul 18, 2010 11:35 pm
Not the way you phrased it. Add in a specific example or a DataStage error or problem you are seeing and then I'd agree. Otherwise it's just an excercise in Googling.tanaya.deshpande@tieto.co wrote:well yes it is a Datastage question ...
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
In the old days of assmebler dumps, we mainframers would flinch every time we saw a SOC7 error, which usually happens when our code tries to divide by zero (It's not my fault! It's the data!)
I coworker just this morning told the story of when he asked "What's a SOC4?" His mentor didn't miss a beat, and answered "It's what you put on your foot in the morning."
I coworker just this morning told the story of when he asked "What's a SOC4?" His mentor didn't miss a beat, and answered "It's what you put on your foot in the morning."
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson
Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson
Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
We're all dating ourselves here. Aren't too many of us around who can still "read" hex, let alone do calculations on it or immediately recognize a zone decimal from a packed decimal from an integer... (and so on)... Sigh. A lost art.
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Take heart, Ernie. My IT education sources (hereafter unnamed) tell me that the larger companies with big legacy code bases are screaming for mainframe curricula to be brought back. I'm hoping for the possibility of a part-time job at a community college or small liberal arts college to keep me busy after retirement, but if not I doubt I'll lack contracts.eostic wrote:We're all dating ourselves here. Aren't too many of us around who can still "read" hex, let alone do calculations on it or immediately recognize a zone decimal from a packed decimal from an integer... (and so on)... Sigh. A lost art.
Ernie
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson
Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson
Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Ha, Ray! My COBOL instructor way back when was the IT directory for a small book publisher. There's a "liberal" and an "art" in there for the asking.
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson
Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson
Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Meanwhile, back on topic, the correct answer (mathematically) is that "division by zero is not defined". In a DataStage parallel Transformer stage it should cause an exception.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 94
- Joined: Sun Jul 18, 2010 11:35 pm