Actually Bill, 

the TRUNC option only apply for programs using MOVE or IF including literals. 

So a MOVE 32767 to OsParms-Length or IF OsParms-Length > 10000 might fail 
depending 
on the TRUNC option in this case. As the OsParm-length is currently limited 
to 100 bytes it will never fail regardless of the Cobol options or defintions
like COMP-5. 

If IBM (Peter Relson) change the PARM stuff beyond the 9999 it might be an issue
for our cobol programs. However I don't belive anyone will ever code a PARM 
longer then 256 or perhaps 512 bytes.

CTS V3 refuse to expand the DfhCommarea because of this and I agree 
a DfhCommarea of 100 KB will cause more trouble in case of mapping the area. 

Same apply to a PARM with 256 and more up to 32767 Bytes. Does it make sense??

Roland


-----Urspr�ngliche Nachricht-----
Von: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] Im Auftrag von 
Bill Klein
Gesendet: Samstag, 14. Mai 2005 02:11
An: [email protected]
Betreff: Fw: PARM=


Actually Roland,
  Programs written that way MAY fail with parms longer than 9999 (depending 
upon TRUNC setting).  I have made a number of RCF's suggesting that code 
samples "like this" should change from COMP to COMP-5.

Have you seen how the current IBM documentation shows this technique?  See:

 http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/igy3pg20/3.4.4.1


"Schiradin,Roland HG-Dir itb-db/dc" <[EMAIL PROTECTED]> wrote in message 
news:<[EMAIL PROTECTED]
.de>...
> All of our Cobol programs using the PARM will fail if the parm length
exceed 32767
>
>  Linkage section.
>    01  OsParms.
>      05 OsParms-Length       pic s9(4) comp.
>      05 OsParms-Data.
>        10 OsParms-CicsId.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to