W dniu 2011-08-29 19:05, Frank Swarbrick pisze:
Even using Spanned (record format is S) or Undefined (record format is U) Cobol 
(Enterprise COBOL 4.2) appears to not allow a record length more than 32K:

32  IGYGR1224-E   The maximum calculated record size of file 
"WIRE-DOCUMENT-FILE" was greater than the maximum allowable size
                   32767.  32767 was assumed.

Is this a COBOL limitation or a QSAM limitation?  Is VSAM my best (only?) 
alternative?

I doubt the alternative.

Records length>32760
1. QSAM. It can be RECFM=VBS,LRECL=up to 32767. Hard to define, but it's possible. COBOL does not support it.
2. QSAM, LRECL=X. Also RECFM must be V and S. Not supported by COBOL.
3. VSAM defined with SPANNED keyword. Max rec size up to CA size (roughly). Not for LDS, RRDS, vRRDS. Not supported by COBOL.
4. LRECL=nnnnK. I only for ANSI tapes. I don't know about max. record size.





--
Radoslaw Skorupka
Lodz, Poland


--
Tre tej wiadomoci moe zawiera informacje prawnie chronione Banku 
przeznaczone wycznie do uytku subowego adresata. Odbiorc moe by jedynie 
jej adresat z wyczeniem dostpu osób trzecich. Jeeli nie jeste adresatem 
niniejszej wiadomoci lub pracownikiem upowanionym do jej przekazania 
adresatowi, informujemy, e jej rozpowszechnianie, kopiowanie, rozprowadzanie 
lub inne dziaanie o podobnym charakterze jest prawnie zabronione i moe by 
karalne. Jeeli otrzymae t wiadomo omykowo, prosimy niezwocznie 
zawiadomi nadawc wysyajc odpowied oraz trwale usun t wiadomo 
wczajc w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is intended solely for business use of the addressee. This e-mail may only be received by the addressee and may not be disclosed to any third parties. If you are not the intended addressee of this e-mail or the employee authorised to forward it to the addressee, be advised that any dissemination, copying, distribution or any other similar activity is legally prohibited and may be punishable. If you received this e-mail by mistake please advise the sender immediately by using the reply facility in your e-mail software and delete permanently this e-mail including any copies of it either printed or saved to hard drive.
BRE Bank SA, 00-950 Warszawa, ul. Senatorska 18, tel. +48 (22) 829 00 00, fax 
+48 (22) 829 00 33, e-mail: i...@brebank.pl
Sd Rejonowy dla m. st. Warszawy XII Wydzia Gospodarczy Krajowego Rejestru Sdowego, nr rejestru przedsibiorców KRS 0000025237, NIP: 526-021-50-88. Wedug stanu na dzie 01.01.2011 r. kapita zakadowy BRE Banku SA (w caoci wpacony) wynosi 168.346.696 zotych.

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

Reply via email to