by good123 » Fri Jan 07, 2011 11:23 am
my request is simple, that rexx exec compile to be a load module,like cobol or assembler. for exaple:
//STEP1 EXEC PGM=IRXJCL,PARM='RXRPSTR' <---- it is a rexx exec,not load module
//STEPLIB DD DSN=TDDX.LOADLIB,DISP=SHR
// DD DSN=MVQ1.RX.LOADLIB,DISP=SHR
//SYSEXEC DD DSN=ATUY.USERA.PDS,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
AFK1.NPUDHE.IN TAPE7
CYF1.NUUPDZ.OUT TAPE8
/*
Change to this
//STEP1 EXEC PGM=RXRPSTR <-----it is a load module
//STEPLIB DD DSN=TDDX.LOADLIB,DISP=SHR
// DD DSN=MVQ1.RX.LOADLIB,DISP=SHR
//SYSEXEC DD DSN=ATUY.USERA.PDS,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
AFK1.NPUDHE.IN TAPE7
CYF1.NUUPDZ.OUT TAPE8
/*
The SYSDSN function in rexx program , when you compile it, which STUB is corect?
//RX$CMP1 JOB ,,CLASS=A,MSGLEVEL=(1,1),MSGCLASS=X,TIME=1440
//* REXX COMPILE PROCUDURE
//* ----------IMPORTANT ---------------------------------------------
//* PREDEFINED STUBS ARE PROVIDED: @PQ04021
//* YOU HAVE TO CHOICE A KIND OF STUBS:
//*
//* MVS PROGRAM WILL BE INVOKED AS AN MVS PROGRAM
//* CPPL PROGRAM WILL BE INVOKED AS A TSO/E COMMAND
//* CALLCMD PROGRAM WILL BE INVOKED BY THE TSO/E CALL COMMAND
//* EFPL PROGRAM WILL BE INVOKED AS A REXX EXTERNAL ROUTINE
//* CPPLEFPL PROGRAM WILL BE INVOKED AS EITHER A TSO/E COMMAND OR
//* A REXX EXTERNAL ROUTINE
//* MULTI PROGRAM SUPPORTS ALL ABOVE NAMED ENVIRONMENTS
//* EXCEPT LINKMVS AND ATTCHMVS. @PQ04021
//*
//* -----------------------------------------------------------------
//REXXCL PROC STUB=EFPL TYPE OF STUB
// OPTIONS='XREF OBJECT NOCEXEC', REXX COMPILER OPTIONS
// COMPDSN='ACX1.RX.SFANLMD', REXX COMPILER LOAD LIB
// LIBDSN='ACX1.RX.SEAGLMD', REXX LIBRARY LOAD LIB
// LIBXDSN='ACX1.RX.SEAGCMD' REXX LIBRARY EXEC LIB
//*-----------------------------------------------------------------
//*-----------------------------------------------------------------
//* COMPILE REXX PROGRAM.
//*-----------------------------------------------------------------
//*
//REXX EXEC PGM=REXXCOMP,PARM='&OPTIONS'
//*-----------------------------------------------------------------
//* THE REXXCOMP IS A LOAD MODULE ,AND IT USED FOR COMPILE REXX
//* EXEC SOURCE CODE,IT WILL PRODUCE OBJECT CODE FOR NEXT STEP TO
//* PREPARE LINK.
//*
//*-----------------------------------------------------------------
//STEPLIB DD DSN=&COMPDSN,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//SYSPUNCH DD DSN=&&OBJECT,DISP=(MOD,PASS),UNIT=SYSDA,
// SPACE=(800,(800,100))
//SYSIN DD DSN=ATUY.USERA.SOURCE(RXRPSTR),DISP=SHR
//*
//*-----------------------------------------------------------------
which STUB type and OPTION,is to fit me ? when i use the SYSDSN in rexx program.