Re: COBOL 3.2 on z/OS reading variable len files



I'm not able to write an assembler program, I did it with REXX...

Thanks to all people in this thread.


"Joe Zitzelberger" <zberger@xxxxxxxxxxx> a écrit dans le message de groupe de discussion : zberger-ADF8D8.00152817042008@xxxxxxxxxxxxxxxxxxxxxxxxxxx
In article <025c570a$0$6316$c3e8da3@xxxxxxxxxxxxxxxxx>,
"Luke Skywalker" <luke.skywalker@xxxxxxxxxxxx> wrote:

Hi,

I try to read any kind of VB file but I got FS 39 (lrecl mismatch)


FD MYFILE
RECORDING V BLOCK 0 RECORDS
RECORD IS VARYING FROM 1 TO 32756 DEPENDING ON WS-CPT.

01 MREC.
05 FILLER PIC X(01) OCCURS 1 TO 32756 DEPENDING ON WS-CPT.



(.....)



OPEN MYFILE => File STATUS 39


MYFILE is VB, LRECL 1328, but I do not want to focus on lrecl 1328, it could
be any other LRECL less or equal to 32756



Any ideas dears ?

Thanks a lot....


You are up a creek.

Write yourself a little assembler submodule...

.



Relevant Pages

  • Re: COBOL 3.2 on z/OS reading variable len files
    ... MYFILE is VB 1328 BLKSIZE 27998 but this is a sample... ... When you say 32756 are you including the RDW? ... I try to read any kind of VB file but I got FS 39 (lrecl mismatch) ... RECORDING V BLOCK 0 RECORDS ...
    (comp.lang.cobol)
  • Closing this thread Re: COBOL 3.2 on z/OS reading variable len files
    ... groupe de discussion: 025c570a$0$6316$c3e8da3@xxxxxxxxxxxxxxxxxxxx ... I try to read any kind of VB file but I got FS 39 (lrecl mismatch) ... FD MYFILE ... RECORDING V BLOCK 0 RECORDS ...
    (comp.lang.cobol)
  • Re: COBOL 3.2 on z/OS reading variable len files
    ... There is no TRULY supported way in IBM mainframe COBOL to create an FD for an VB ... file that will work for "any" LRECL. ... There used to be a way to get around this with RECORDING MODE U, ... MYFILE is VB 1328 BLKSIZE 27998 but this is a sample... ...
    (comp.lang.cobol)
  • COBOL 3.2 on z/OS reading variable len files
    ... I try to read any kind of VB file but I got FS 39 (lrecl mismatch) ... FD MYFILE ... RECORDING V BLOCK 0 RECORDS ... RECORD IS VARYING FROM 1 TO 32756 DEPENDING ON WS-CPT. ...
    (comp.lang.cobol)
  • Re: COBOL 3.2 on z/OS reading variable len files
    ... When you code RECORD VARYING IN SIZE ... RECORDING V BLOCK 0 RECORDS ... OPEN MYFILE => File STATUS 39 ... MYFILE is VB, LRECL 1328, but I do not want to focus on lrecl 1328, it could ...
    (comp.lang.cobol)