What is SSRANGE, NOSSRANGE ?
Answers were Sorted based on User's Feedback
Answer / ms. stanley
SSRANGE is a compiler option used to handle an array overflow
Default Compiler Option is NOSSRANGE and hence when required
to handle the overflow condition, SSRANGE Compiler Option
needs to be specified in the COBOL Program (The first Line
of the program)
| Is This Answer Correct ? | 57 Yes | 5 No |
Answer / harish
suppose in your program your are using array occurs 10 time
in this case if you use NOSSRANGE (WHEN YOUR PROGRAM TRY TO
ACCESS 11TH TIME PROGRAM WILL NOT ABEND INURN IT ENDS THE
LOOP,ERROR FREE)
SUPPOSE IN CASE OF SSRANGE
YOUR PROGRAM STOP WITH ERROR ,PROGRAM ABENDS,(I THINK SOC4)
Harish poomgame shivappa
NIIT Technolgies
Kolkata
| Is This Answer Correct ? | 41 Yes | 6 No |
Answer / msa
I think this is how.
=COLS> ----+----1----+----2----+----3
****** *****************************
000001 PROCESS NOSSRANGE
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / avinanda mukherjee
Stanley, please le me any example to introduce SSRANGE in
COBOL program..
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / laxman
SSRANGE is compiler option,array is overflow means declare
in 10 and access 11th position,the program does not
abend.default is NOSSRANGE,u want SSRANGE in your program
declare in first line of program.
| Is This Answer Correct ? | 6 Yes | 3 No |
How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed dd name and dd name is not matching with file and soc7 check the sysdump and copy the offest address then correct it in the program.
10 Answers ADP, Amdocs, Cap Gemini, Keane India Ltd, Super Value, TCS,
what is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?
have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..
i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)
3 Answers Cap Gemini, Mind Tree,
How do you differentiate between cobol and cobol-ii?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
Write a program to concert an Indexed file into Sequential file?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
How to read records from flat file in reverse order through COBOL program?
14 Answers Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,
how do u indetify files succesfully executed or not ?
Which mode is used to operate the sequential file?