View previous topic :: View next topic
|
Author |
Message |
itjagadesh
New User
Joined: 05 Dec 2006 Posts: 89 Location: chennai
|
|
|
|
HI all,
How To specify SSRANGE & CHECK(ON) compile parameters in cobol?
In my cobol program in one scenario it is exceeding table( for 14 occurance of a variable it is going till 255 occurance).
By default my compiler is taking NOSSRANGE options.i need to know how to specify SSRANGE & CHECK(ON) options.How to pass thru link parm.
can anyone explain or post me sample code?
thanks
Jagadesh |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Is there some reason to use SSRANGE when simply using good code prevents any and all problems?
If you use your own code, you will be in complete control and can provide quality diagnostic information when some process is about to go "out of range" making problem resolution quicker. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
dick scherrer wrote: |
Is there some reason to use SSRANGE when simply using good code prevents any and all problems? |
Aw, com'on Dick, some times even I have been hit with a "problem" and had to try to diagnose it....Compiler and runtime options are not "that" visible.....it takes a little extra searching....
And I still haven't found an example that the run time CHECK option is a "PARM" value... Can you find it? |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
CICS Guy wrote: |
dick scherrer wrote: |
Is there some reason to use SSRANGE when simply using good code prevents any and all problems? |
Aw, com'on Dick, some times even I have been hit with a "problem" and had to try to diagnose it....Compiler and runtime options are not "that" visible.....it takes a little extra searching....
And I still haven't found an example that the run time CHECK option is a "PARM" value... Can you find it? |
The run time parameter is CHECK(NO) which turns off SSRANGE but I have looked several times and can't find how to specify it. |
|
Back to top |
|
|
itjagadesh
New User
Joined: 05 Dec 2006 Posts: 89 Location: chennai
|
|
|
|
Hi all,
can anyone post me sample code for (SSRANGE & CHECK(ON)) paramters.How to include in cobol compile program?
regards
Jagadesh |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Jagadeesh,
Quote: |
How to include in cobol compile program? |
What do you mean by compile program?
Quote: |
can anyone post me sample code for (SSRANGE & CHECK(ON)) paramters. |
Are you looking someway to code these options in teh COBOL source program? If yes, look at the prev topic -
ibmmainframes.com/about1920.html |
|
Back to top |
|
|
itjagadesh
New User
Joined: 05 Dec 2006 Posts: 89 Location: chennai
|
|
|
|
Hi murmohk,
regarding compile program:
ie) how to specify compile option SSRANGE & CHECK(ON) parameters.?
I need one example code (not in cobol program). in compile program (cobol compiler or Endevor tool).
can any one of u people can send me code with SSRANGE & CHECK(ON)? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
itjagadesh wrote: |
how to specify compile option SSRANGE & CHECK(ON) parameters.?
I need one example code (not in cobol program). in compile program (cobol compiler or Endevor tool). |
OK, after you look at the provided links........
Oh, by the way, they only apply to COBOL programs....... |
|
Back to top |
|
|
|