Topic
1 reply Latest Post - ‏2013-08-30T13:51:26Z by VolkerFriedrich
uggywuggy
uggywuggy
1 Post
ACCEPTED ANSWER

Pinned topic Input LRECL > Output LREC

‏2013-08-15T11:39:40Z |

Hi

I'm attempting to transfer a file from WS2003/CD4.6 to ZO/S 1.13/CD 4.8 but receive the error "SCPA024I Input LRECL > Ouput LRECL"

I know there are C:D patches out there for this error but all other files transfer OK so believe this message is genuine.

The file has several records all should be FB and 125 long. When I transfer using 3270 comms the file appears fine on the mainframe.

I suspect there are no control characters in the file to indicate end of record and that C:D is reading the whole file as one record but not sure how to get around this ?

The CD cards I'm using appear as follows;

/*BEGIN_REQUESTER_COMMENTS
    $PNODE$="xxxxxxxxxx" $PNODE_OS$="Windows"
    $SNODE$="xxxxxxxxxx" $SNODE_OS$="MVS"
    $OPTIONS$="WDOS"
  END_REQUESTER_COMMENTS*/

COPY1 PROCESS
 SNODE=xxxxxxxxxxx

 PNODEID=(xxxxxxxxxxx)

COPY2 COPY
 FROM (
  FILE=C:\COB0286200138938301A
  SYSOPTS="DATATYPE(TEXT)"
 )
 TO (
  FILE=TUKCH.FZ57ZZ.BBFY
  DISP=(NEW,CATLG,DELETE)
  DCB=(BLKSIZE=0,LRECL=125,RECFM=FB)
  UNIT=(TSODEV,)
  SPACE=(CYL,(60,50),RLSE)
 )

PEND

 

Any advice appreciated !!!

 

 

 

Updated on 2013-08-15T11:40:39Z at 2013-08-15T11:40:39Z by uggywuggy
  • VolkerFriedrich
    VolkerFriedrich
    154 Posts
    ACCEPTED ANSWER

    Re: Input LRECL > Output LREC

    ‏2013-08-30T13:51:26Z  in response to uggywuggy

    If other transfers are OK and just this one fails, then most likely its about the Windows file.

    With DATATYPE(TEXT) specified on the from side, Windows will read a record from the source file until it finds CR-LF (0x0D0A).
    SCPA024I will occur when one of the records in your Windows file is longer than 125 characters and thus won't fit into the Fixed Block destination dataset.