//MEMGEN   JOB CLASS=C,REGION=0K
//IDCAMS   EXEC PGM=IDCAMS
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
  DEFINE ALIAS (NAME(MEMACS) RELATE(SYS1.UCAT.TSO)) -
         CATALOG(SYS1.VMASTCAT/SECRET)
  SET MAXCC=0
/*
//
//MEMGEN   JOB CLASS=C,REGION=0K
//*
//CREATE   PROC MEMPREF='MEMACS'
//DELETE   EXEC PGM=IEFBR14
//DD1      DD DSN=&MEMPREF..SOURCE,DISP=(MOD,DELETE),
//       UNIT=SYSALLDA,SPACE=(TRK,(0))
//DD2      DD DSN=&MEMPREF..INCLUDE,DISP=(MOD,DELETE),
//       UNIT=SYSALLDA,SPACE=(TRK,(0))
//DD4     DD DSN=&MEMPREF..LINKLIB,DISP=(MOD,DELETE),
//       UNIT=SYSALLDA,SPACE=(TRK,(0))
//DD5      DD DSN=&MEMPREF..JCL,DISP=(MOD,DELETE),
//       UNIT=SYSALLDA,SPACE=(TRK,(0))
//*
//ALLOC    EXEC PGM=IEFBR14
//DD1      DD DSN=&MEMPREF..SOURCE,DISP=(,CATLG),
// DCB=(RECFM=VB,LRECL=255,BLKSIZE=6144),
// SPACE=(6144,(99,99,44)),UNIT=SYSALLDA
//DD2      DD DSN=&MEMPREF..INCLUDE,DISP=(,CATLG),
// DCB=(RECFM=VB,LRECL=255,BLKSIZE=6144),
// SPACE=(6144,(19,19,44)),UNIT=SYSALLDA
//DD4      DD DSN=&MEMPREF..LINKLIB,DISP=(,CATLG),
// DCB=(RECFM=U,LRECL=0,BLKSIZE=6144),
// SPACE=(6144,(46,46,44),,,ROUND),UNIT=SYSALLDA
//DD5      DD DSN=&MEMPREF..JCL,DISP=(,CATLG),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=6080),
// SPACE=(6080,(16,16,44)),UNIT=SYSALLDA
//         PEND
//*
//S1 EXEC CREATE
//
//MEMGEN    JOB CLASS=C,REGION=0K
//*
//TRANSFER PROC MEMPREF='MEMACS'
//DELETE   EXEC PGM=IEFBR14
//DD1      DD DSN=&MEMPREF..ALLZIPS,DISP=(MOD,DELETE),
//       UNIT=SYSALLDA,SPACE=(TRK,(0))
//*
//COPY     EXEC PGM=IEBGENER
//SYSUT1   DD DSN=HERC02.IN,DISP=OLD,
//         UNIT=TAPE,VOL=SER=PCTOMF,LABEL=(1,NL),
//         DCB=(RECFM=U,LRECL=0,BLKSIZE=6144)
//SYSUT2   DD DSN=&MEMPREF..ALLZIPS,DISP=(,CATLG),
//         SPACE=(6144,(200,200),RLSE),UNIT=SYSALLDA,
//         DCB=(RECFM=U,LRECL=0,BLKSIZE=6144)
//SYSIN    DD DUMMY
//SYSPRINT DD SYSOUT=*
//         PEND
//*
//S1 EXEC TRANSFER
//
//MEMGEN    JOB CLASS=C,REGION=0K
//*
//CREATE   EXEC PGM=IEFBR14
//DD1      DD DSN=&&ZIPS,DISP=(,PASS),
// DCB=(RECFM=U,LRECL=0,BLKSIZE=6144),
// SPACE=(6144,(200,200,44)),UNIT=SYSALLDA
//*
//UNZIP1   PROC MINPREF='MINIZIP',MEMPREF='MEMACS'
//MINI     EXEC PGM=MINIUNZ,PARM='dd:input dd:output'
//STEPLIB  DD DSN=&MINPREF..LINKLIB,DISP=SHR
//INPUT    DD DSN=&MEMPREF..ALLZIPS,DISP=SHR
//OUTPUT   DD DSN=&&ZIPS,DISP=(OLD,PASS)
//SYSIN    DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSTERM  DD SYSOUT=*
//         PEND
//*
//UNZIP2   PROC IN=,OUT=,MINPREF='MINIZIP',MEMPREF='MEMACS'
//MINI     EXEC PGM=MINIUNZ,PARM='-a dd:input dd:output'
//STEPLIB  DD DSN=&MINPREF..LINKLIB,DISP=SHR
//INPUT    DD DSN=&&ZIPS(&IN),DISP=(OLD,PASS)
//OUTPUT   DD DSN=&MEMPREF..&OUT,DISP=SHR
//SYSIN    DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSTERM  DD SYSOUT=*
//         PEND
//*
//S1 EXEC UNZIP1
//S2 EXEC UNZIP2,IN='MVSSRC',OUT='SOURCE'
//S3 EXEC UNZIP2,IN='MVSINC',OUT='INCLUDE'
//S4 EXEC UNZIP2,IN='MVSJCL',OUT='JCL'
//
//MEMGEN   JOB CLASS=C,REGION=0K
//*
//MEMCMP   PROC MEMPREF='MEMACS',MEMBER='',GCCPREF='GCC',
// PDPPREF='PDPCLIB',
// COS1='-Os -S -ansi -DC90 -DEBCDIC',
// COS2='-o dd:out -'
//*
//COMP     EXEC PGM=GCC,
// PARM='&COS1 &COS2'
//STEPLIB  DD DSN=&GCCPREF..LINKLIB,DISP=SHR
//SYSIN    DD DSN=&MEMPREF..SOURCE(&MEMBER),DISP=SHR
//INCLUDE  DD DSN=&MEMPREF..INCLUDE,DISP=SHR,DCB=BLKSIZE=32720
//         DD DSN=&PDPPREF..INCLUDE,DISP=SHR
//SYSINCL  DD DSN=&MEMPREF..INCLUDE,DISP=SHR,DCB=BLKSIZE=32720
//         DD DSN=&PDPPREF..INCLUDE,DISP=SHR
//OUT      DD DSN=&&TEMP1,DISP=(,PASS),UNIT=SYSALLDA,
//            DCB=(LRECL=80,BLKSIZE=6080,RECFM=FB),
//            SPACE=(6080,(500,500))
//SYSPRINT DD SYSOUT=*
//SYSTERM  DD SYSOUT=*
//*
//ASM      EXEC PGM=ASMA90,
//            PARM='DECK,NOLIST',
//            COND=(4,LT,COMP)
//SYSLIB   DD DSN=SYS1.MACLIB,DISP=SHR,DCB=BLKSIZE=32720
//         DD DSN=&PDPPREF..MACLIB,DISP=SHR
//SYSUT1   DD UNIT=SYSALLDA,SPACE=(CYL,(2,1))
//SYSUT2   DD UNIT=SYSALLDA,SPACE=(CYL,(2,1))
//SYSUT3   DD UNIT=SYSALLDA,SPACE=(CYL,(2,1))
//SYSPRINT DD SYSOUT=*
//SYSLIN   DD DUMMY
//SYSGO    DD DUMMY
//SYSPUNCH DD DSN=&&OBJSET,UNIT=SYSALLDA,SPACE=(80,(4000,0)),
//            DISP=(MOD,PASS)
//SYSIN    DD DSN=&&TEMP1,DISP=(OLD,DELETE)
//*
//         PEND
//*
//LINK     PROC MEMPREF='MEMACS',PDPPREF='PDPCLIB'
//LKED     EXEC PGM=IEWL,
// PARM='MAP,LIST,SIZE=(999424,65536),AMODE=31,RMODE=ANY'
//SYSUT1   DD UNIT=SYSDA,SPACE=(CYL,(30,10))
//SYSPRINT DD SYSOUT=*
//SYSLIN   DD DSN=&&OBJSET,DISP=(OLD,DELETE)
//SYSLIB   DD DSN=&PDPPREF..NCALIB,DISP=SHR,DCB=BLKSIZE=32760
//SYSLMOD  DD DSN=&MEMPREF..LINKLIB(MEMACS),DISP=SHR
//         PEND
//*
//MAIN     EXEC MEMCMP,MEMBER=MAIN
//ANSI     EXEC MEMCMP,MEMBER=ANSI
//BASIC    EXEC MEMCMP,MEMBER=BASIC
//BIND     EXEC MEMCMP,MEMBER=BIND
//BUFFER   EXEC MEMCMP,MEMBER=BUFFER
//DISPLAY  EXEC MEMCMP,MEMBER=DISPLAY
//FILE     EXEC MEMCMP,MEMBER=FILE
//FILEIO   EXEC MEMCMP,MEMBER=FILEIO
//LINE     EXEC MEMCMP,MEMBER=LINE
//LOCK     EXEC MEMCMP,MEMBER=LOCK
//RANDOM   EXEC MEMCMP,MEMBER=RANDOM
//REGION   EXEC MEMCMP,MEMBER=REGION
//SEARCH   EXEC MEMCMP,MEMBER=SEARCH
//SPAWN    EXEC MEMCMP,MEMBER=SPAWN
//TERMIO   EXEC MEMCMP,MEMBER=TERMIO
//WINDOW   EXEC MEMCMP,MEMBER=WINDOW
//WORD     EXEC MEMCMP,MEMBER=WORD
//*
//DOLINK   EXEC LINK
//*
//
//MEMGEN    JOB CLASS=C,REGION=0K
//*
//CLEAN    PROC MEMPREF='MEMACS'
//DELETE   EXEC PGM=IEFBR14
//DD1      DD DSN=&MEMPREF..ALLZIPS,DISP=(MOD,DELETE),
//         UNIT=SYSDA,SPACE=(TRK,(0))
//         PEND
//*
//RUNPM    PROC MEMPREF='MEMACS'
//*MEMACS   EXEC PGM=MEMACS,PARM='dd:in'
//MEMACS   EXEC PGM=IEFBR14,PARM='dd:in'
//STEPLIB  DD DSN=&MEMPREF..LINKLIB,DISP=SHR
//SYSIN    DD DUMMY
//IN       DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSTERM  DD SYSOUT=*
//         PEND
//*
//S1       EXEC CLEAN
//*
//S2       EXEC RUNPM
//IN       DD *
hi
there
/*
//
