× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



[ Converted text/html to text/plain ]

THANK YOU
Regards,

Hrishikesh Kotwal

>From: "Njål Fisketjøn"
>Reply-To: rpg400-l@midrange.com
>To:
>Subject: RE: No. of Parameters (RPGIII)
>Date: Thu, 6 Dec 2001 11:18:56 +0100
>
> > Can someone tell me what is the maximum number of parameters that can be
> > passed to a RPG program?
>
>255
>
>
>
>Appendix A of RPG/400 Reference quotes the following restrictions:
>
>A.0 Appendix A. RPG/400 Restrictions
>
>??????????????????????????????????????????????????????????????????????????
>? Table 43. RPG/400 Restrictions ?
>??????????????????????????????????????????????????????????????????????????
>? Function ? Restriction ?
>??????????????????????????????????????????????????????????????????????????
>? AN/OR lines (positions 7 and 8 of ? Maximum of 7 per operation. ?
>? calculation specifications) ? ?
>??????????????????????????????????????????????????????????????????????????
>? Arrays and tables ? Maximum of 200 per program. ?
>??????????????????????????????????????????????????????????????????????????
>? Array/table input record length ? Maximum length is 80. ?
>? for compile time ? ?
>??????????????????????????????????????????????????????????????????????????
>? Character field length ? Maximum length is 256. ?
>??????????????????????????????????????????????????????????????????????????
>? Control fields (position 59 and 60 ? Maximum length is 256. ?
>? of input specifications) length ? ?
>??????????????????????????????????????????????????????????????????????????
>? Data structure length ? Maximum of 9999. ?
>??????????????????????????????????????????????????????????????????????????
>? Data structure occurrences (number ? Maximum of 9999 per data ?
>? of) ? structure. ?
>??????????????????????????????????????????????????????????????????????????
>? Edit Word ? Maximum length of 24 for literals ?
>? ? or 115 for named constants. ?
>??????????????????????????????????????????????????????????????????????????
>? Elements in an array/table ? Maximum of 9999 per array/table. ?
>? (positions 36 through 39 of ? ?
>? extension specifications) ? ?
>??????????????????????????????????????????????????????????????????????????
>? File ? Maximum of 50 per program. ?
>??????????????????????????????????????????????????????????????????????????
>? Levels of nesting in structured ? Maximum of 100. ?
>? groups ? ?
>??????????????????????????????????????????????????????????????????????????
>? Look-ahead ? Can be specified only once for a ?
>? ? file. Can be specified only for ?
>? ? primary and secondary files. ?
>??????????????????????????????????????????????????????????????????????????
>? Named Constant ? Maximum length of 256 for ?
>? ? character named constant, 512 for ?
>? ? hexadecimal named constant, and ?
>? ? 30 digits with 9 decimal ?
>? ? positions for numeric named ?
>? ? constant. ?
>??????????????????????????????????????????????????????????????????????????
>? Overflow indicator ? Only 1 unique overflow indicator ?
>? ? can be specified per printer ?
>? ? file. ?
>??????????????????????????????????????????????????????????????????????????
>? Parameters ? Maximum of 255 ?
>??????????????????????????????????????????????????????????????????????????
>? Primary file (P in position 16 of ? Maximum of 1 per program. ?
>? file description specifications) ? ?
>??????????????????????????????????????????????????????????????????????????
>? Printer file (PRINTER in positions ? Maximum of 8 per program. ?
>? 40 through 46 of file description ? ?
>? specifications) ? ?
>??????????????????????????????????????????????????????????????????????????
>? Printing lines per page ? Minimum of 2; maximum of 112. ?
>??????????????????????????????????????????????????????????????????????????
>? Program status data structure ? Only 1 allowed per program. ?
>??????????????????????????????????????????????????????????????????????????
>? Record address file (R in position ? Only 1 allowed per program. ?
>? 16 of file description ? ?
>? specifications) ? ?
>??????????????????????????????????????????????????????????????????????????
>? Record length for program ? Maximum length is 9999. (1) ?
>? described file (positions 24 ? ?
>? through 27 of file description ? ?
>? specifications) ? ?
>??????????????????????????????????????????????????????????????????????????
>? Structured groups (see levels of ? ?
>? nesting) ? ?
>??????????????????????????????????????????????????????????????????????????
>? Subroutines ? Maximum of 254 per program. ?
>??????????????????????????????????????????????????????????????????????????
>? Tables (see arrays) ? ?
>??????????????????????????????????????????????????????????????????????????
>? (1)Any device record size restraints override this value. ?
>??????????????????????????????????????????????????????????????????????????
>
>
>
>
>_______________________________________________
>This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
>To post a message email: RPG400-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
>or email: RPG400-L-request@midrange.com
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/rpg400-l.
>

------------------------------------------------------------------------------
Get your FREE download of MSN Explorer at http://explorer.msn.com[1]

===References:===
  1. http://go.msn.com/bql/hmtag_itl_EN.asp



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.