COBOL

  • 1.  JCL link

    Posted Mon February 26, 2024 11:19 AM

    Good afternoon

    I have DLL library compiled in USS:
    MYLIB
    MYLIB.x
    I have no problem to copy library file to dataset but side deck file seems to be in odd format and I can't copy it.
    It looks like one line.

    Could anybody help me with dataset definition for loading this side deck file ?

    Regards,
    Piotr



    ------------------------------
    Piotr Synowiec
    ------------------------------


  • 2.  RE: JCL link

    Posted Mon February 26, 2024 01:30 PM

    The file appears to be 80 byte "records", but since the output is a UNIX file it's simply one long line of 80 byte "records".  I also can't figure out how to copy that to an MVS file.  Perhaps you would have to reformat it with 'newline' characters after each "record".

    That said, you don't need to copy to an MVS dataset.  You can simply include it directly from a UNIX file, e.g.:

     INCLUDE /usr/lib/GSKSSL.x



    ------------------------------
    Frank Swarbrick
    ------------------------------