View previous topic :: View next topic
|
Author |
Message |
Amar.Roy
New User
Joined: 26 Jul 2010 Posts: 4 Location: Banglore
|
|
|
|
Hi,
I need to find out the lowest of three variable in a cobol program. Please let me know if I can use some keyword to find the lowest among three variable.
Pls reply fast.
Thanks,
Amar |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
I don't think so that there is an intrinsic-function in COBOL which will do what you've asked for. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Amar.Roy wrote: |
Pls reply fast.
|
fast |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Define fast |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
A period of such abstention or self-denial. |
|
Back to top |
|
|
sambit_mech
New User
Joined: 14 Jul 2010 Posts: 13 Location: India
|
|
|
|
Use MIN function (an intrinsic COBOL function). |
|
Back to top |
|
|
shantanu.dhawan
New User
Joined: 09 Oct 2007 Posts: 1 Location: London
|
|
|
|
format given below:
COMPUTE MIN-WS = FUNCTION MIN(FLDA FLDB FLDC FLDD) |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Removing the egg from face, slowly! |
|
Back to top |
|
|
|