Topic
  • 1 reply
  • Latest Post - ‏2013-05-06T14:10:25Z by AleksandarKarneluti
saikat09
saikat09
1 Post

Pinned topic unix to mainframe connect direct

‏2013-01-29T07:08:57Z |
Hi,

I am doing connect direct from unix to mainframe using datatype as binary and expecting the file to be produced in mainframe with below attributes.

recfm=u,lrecl=0,blksize=23040

Whereas I am getting attribute in mainframe as follow:-

recfm=vb,lrecl=23036,blksize=23040

This normally happens in case of text transfer but here we are doing binary transfer. Please shed some light on this issue.
  • AleksandarKarneluti
    AleksandarKarneluti
    3 Posts

    Re: unix to mainframe connect direct

    ‏2013-05-06T14:10:25Z  

    COPY    FROM( FILE=/data/myfile)                             
                   TO( DSN=CD.SAM.SAMPLE2                   
                      DISP=(NEW,CATLG,DELETE)                        
                      DCB=(BLKSIZE=3156 RECFM=VBM DSORG=PS LRECL=255) 
                      SPACE=(3156,(100,10)) UNIT=SYSDA VOL=SER=$VOL)       

     

    Parameters could be found in Process guide

    Sasha