MVSFORUMS.com A Community of and for MVS Professionals
View previous topic :: View next topic
Author
Message
ANDY Beginner Joined: 07 Feb 2004 Posts: 127 Topics: 67
Posted: Mon Jun 04, 2007 9:39 am Post subject: SCLM build up issue
I use following JCL to build SCLM project and RC=0
Code: //*
//ASMPROJ PROC PROJID=,PROJDEF=
//*------------------------------------------------------------------*
//ASM EXEC PGM=ASMA90,REGION=4096K,PARM=OBJECT
//SYSIN DD DSN=&PROJID..PROJTEST.SOURCE(&PROJDEF),DISP=SHR
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(2,2))
//SYSLIN DD DSN=&&INT,DISP=(,PASS),UNIT=SYSDA,SPACE=(CYL,(5,5,0)),
// DCB=(BLKSIZE=400)
//SYSTERM DD DUMMY
//SYSPUNCH DD DUMMY
//SYSLIB DD DSN=&PROJID..PROJTEST.SOURCE,DISP=SHR
// DD DSN=&PROJID..PROJTEST.LANGAGE,DISP=SHR
// DD DSN=CEE.SCEELKED,DISP=SHR
// DD DSN=SYS1.SISPMACS,DISP=SHR
// DD DSN=SYS1.MACLIB,DISP=SHR
//SYSPRINT DD SYSOUT=*
//*------------------------------------------------------------------*
//*LINK EXEC PGM=IEWL,PARM='RENT,LIST,MAP',REGION=512K
//LINK EXEC PGM=IEWL,PARM='RENT,REUS,DCBS,LIST,MAP',REGION=512K
//SYSPRINT DD SYSOUT=*
//SYSLIN DD DSN=&&INT,DISP=(OLD,DELETE)
//OBJECT DD DSN=&PROJID..PROJTEST.OBJ,DISP=SHR
//SYSLIB DD DSN=&PROJID..PROJTEST.LOAD,DISP=SHR
//SYSLMOD DD DSN=&PROJID..PROJTEST.LOAD(&PROJDEF),DISP=SHR
//SYSGO DD DSN=&PROJID..PROJTEST.OBJ(&PROJDEF),DISP=SHR
//SYSUT1 DD UNIT=SYSALLDA,SPACE=(CYL,(2,2)),DISP=NEW
// PEND
//*------------------------------------------------------------------*
//ASMLINK EXEC PROC=ASMPROJ,PROJID=AAA,PROJDEF=ADMIN
//
However, when I enter SCLM from ISPF , it give error message :
CSV016I REQUESTED MODULE ADMIN IS NOT EXECUTABLE
Can someone tell me why it happen and how to figure out.
Thank you. _________________ cheers,
Andy
Back to top
kolusu Site Admin Joined: 26 Nov 2002 Posts: 12369 Topics: 75 Location: San Jose
Posted: Mon Jun 04, 2007 9:47 am Post subject:
Quote:
//SYSLIB DD DSN=&PROJID..PROJTEST.LOAD,DISP=SHR
Andy,
I think your link step is NOT successful. Did you check the messages? I think you need sys1.maclib for syslib DD
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu
Back to top
ANDY Beginner Joined: 07 Feb 2004 Posts: 127 Topics: 67
Posted: Mon Jun 04, 2007 10:27 am Post subject:
Quote:
//LINK EXEC PGM=IEWL,PARM='RENT,REUS,DCBS,LIST,MAP',REGION=512K
//SYSPRINT DD SYSOUT=*
//SYSLIN DD DSN=&&INT,DISP=(OLD,DELETE)
//OBJECT DD DSN=&PROJID..PROJTEST.OBJ,DISP=SHR
//SYSLIB DD DSN=SYS1.MACLIB,DISP=SHR
// DD DSN=SYS1.SISPMACS,DISP=SHR
//SYSLMOD DD DSN=&PROJID..PROJTEST.LOAD(&PROJDEF),DISP=SHR
//SYSGO DD DSN=&PROJID..PROJTEST.OBJ(&PROJDEF),DISP=SHR
//SYSUT1 DD UNIT=SYSALLDA,SPACE=(CYL,(2,2)),DISP=NEW
// PEND
-JOBNAME STEPNAME PROCSTEP RC EXCP CPU SRB CLOCK
-ANDYJIS ASMLINK ASM 00 751 .03 .00 .08
-ANDYJIS ASMLINK LINK 00 100 .00 .00 .01
Still get error :
CSV016I REQUESTED MODULE ADMIN IS NOT EXECUTABLE
*** _________________ cheers,
Andy
Back to top
semigeezer Supermod Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
Posted: Mon Jun 04, 2007 11:07 am Post subject:
There isn't much to go on here but...
SCLM project definitions are in a data set called project.PROJDEFS .LOAD(projdef), not PROJTEST . You are not using what you compiled, at least not as an SCLM project definition.
Also, the project definition is a single load module that is not executable. It only contains data, and no executable code. Whatever project definition you are running with, presumably found in library ADMIN.PROJDEFS.LOAD, probably has an exit coded in it somewhere called ADMIN. Since both the project definition and the exit are both called ADMIN, SCLM is probably trying to run the exit called ADMIN, loads ADMIN, gets the project definition which is already loaded, and you get that error.
Back to top
ANDY Beginner Joined: 07 Feb 2004 Posts: 127 Topics: 67
Posted: Tue Jun 05, 2007 2:46 am Post subject:
Thank you for above reminders. It is helpful. _________________ cheers,
Andy
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum