MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SCLM build up issue

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Mon Jun 04, 2007 9:39 am    Post subject: SCLM build up issue Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Mon Jun 04, 2007 9:47 am    Post subject: Reply with quote

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 - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Mon Jun 04, 2007 10:27 am    Post subject: Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Jun 04, 2007 11:07 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Tue Jun 05, 2007 2:46 am    Post subject: Reply with quote

Thank you for above reminders. It is helpful.
_________________
cheers,
Andy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group