PreviousFile Status Codes

Appendix A: SAA, OSVS and VSC2 Implementation Limits

This table indicates the limits imposed by the following versions of IBM COBOL:

SAA- Systems Application Architecture
OSVS- OS/VS COBOL
VSC2- VS COBOL II

Items exceeding these limits can be flagged in your program by using FLAG"SAA", FLAG"OSVS" and FLAG "VSC2" respectively.

Flag Limit SAA
Level 1
SAA
Level 2
OSVS VSC2
404 Number of operands being replaced in a COPY ...REPLACING statement 150 150 150 n/a
409/ 421 Number Of Files in a program 25 98 65534 65534
410 SAME RECORD AREA n/a   255 255
412 ALTERNATE Key Clauses n/a 63 253 253
413 Length of RECORD KEY in one file 120 120 255 n/a
415 Data Section Size n/a n/a 1048574 134217600
419 File BLOCK Size 32759 32766 32760 1048574
420 File RECORD Size 32759 32766 32767 1048574
424 Linkage Section Records n/a   255 n/a
425 FILE Section Group Item n/a n/a 32766 16777200
426 Length of Group Item 131071 3,000,000 131072 16777200
427 Length of Elementary Item 32767 3,000,000 32766 16777200
428 Edited Digits 127 127 127 249
429 Table Size (variable length) 32767 32767 32767 16777200
430 VALUE Literal Length n/a n/a 65534 16777200
431 Number of characters in PIC char-string 30 30 30 30
432 PICTURE Replication 32767 3,000,000 99999 16777200
433 Sort RECORD Size 32767 32767 32750 32750
434 Table Size (fixed length) 32767 3,000,000 32766 16777200
435 Table Element Size 32767 32767 32767 8388607
436 Total length of SORT ASC/DESC Key 12 256 12 12
437 Total length of MERGE ASC/DESC Key 256 256 256 256
438 Number of index-names per table 12 12 12 12
440 Paragraph Names n/a n/a 65534 1048573
441 PERFORMS n/a n/a 65533 4194302
442 Number of OCCURS levels 7 7 3 7
443 Number of GO TO procedure-name DEPENDING ON Labels 255 255 2031 255
444 Number of IF Nesting levels 30 30 n/a n/a
445 Number of CALL USING Parameters 30 255 n/a 16383
446 Number of SORT USING File-names 8 16 16 16
447 Number of SORT Keys 12 30 12 n/a
448 Number of SEARCH ALL ... WHEN relation Conditions 12 12 12 12
449 Number of UNSTRING Delimiters 30 30 15 255
450 Number of INSPECT TALLYING operands 15 15 15 15
451 Sort Key Size 256 256 256 4092
452 Number of PROCEDURE DIVISION USING parameters 30 255 n/a 16383
453 Number of ENTRY USING parameters 30 255 n/a 16383


Note: Some of the above limits might exceed those of this COBOL system. In these cases a different error message is produced.


Copyright © 2000 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.

PreviousFile Status Codes