View previous topic :: View next topic
|
Author |
Message |
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Hi ,
I am getting RC-3 . while i am running the REXX code in the Batch mode .
Code: |
ADDRESS ISPEXEC
"VIEW DATASET('"RPT"') MACRO(JJC)"
"VIEW DATASET('"
"AB60399.JCL.RPT.TEMP"
"VIEW DATASET('AB60399.JCL.RPT.TEMP"
"') MACRO(JJC)"
"VIEW DATASET('AB60399.JCL.RPT.TEMP') MACRO(JJC)"
RC(-3) +++ |
I have used almost all ISPF library in the JCL as i am using one macro in the program.
find the JCL .
Code: |
//JOBNAMER JOB (00017),'REXX',CLASS=C,REGION=4500K,
// MSGCLASS=Z,NOTIFY=&SYSUID,TIME=NOLIMIT
//***********************************************************
//ISPFBACK EXEC PGM=IKJEFT01,DYNAMNBR=25,REGION=1024K
//***********************************************************
//ISPPROF DD DSN=AB60399.ISPF.ISPPROF,DISP=SHR
//ISPPLIB DD DSN=ISP.SISPPENU,DISP=SHR
//ISPMLIB DD DSN=ISP.SISPMENU,DISP=SHR
//ISPSLIB DD DSN=ISP.SISPSENU,DISP=SHR
// DD DSN=ISP.SISPSLIB,DISP=SHR
//ISPTLIB DD DSN=USER.ISP.TABLELIB,DISP=SHR
// DD DSN=WLP0.SYSC.ISRTLIB,DISP=SHR
// DD DSN=WLP1.ISP.SISPTENU,DISP=SHR
// DD DSN=SPPP.FILEAID.IMS.ISPTLIB,DISP=SHR
// DD DSN=ISP.SISPTENU,DISP=SHR
// DD DSN=WLP1.CAI.CAIISPT,DISP=SHR
// DD DSN=WLP1.ISRTLIB,DISP=SHR
// DD DSN=WLP1.OPSMVS.WLP1.OPSTLIB,DISP=SHR
// DD DSN=WLP1.OPSMVS.WLP1.COMMON.ISPTLIB,DISP=SHR
// DD DSN=EOY.SEOYTENU,DISP=SHR
// DD DSN=SYS1.SBPXTENU,DISP=SHR
//*
//ISPLOG DD DSN=AB60399.ISPF.LOG,DISP=SHR
//*
//ISPLLIB DD DISP=SHR,DSN=WLP1.ISRLLIB
// DD DISP=SHR,DSN=USER.ISP.ISPLOAD
// DD DISP=SHR,DSN=SYS3.NDM.LINKLIB
//SYSEXEC DD DSN=ISP.SISPEXEC,DISP=SHR
// DD DISP=SHR,DSN=USER.TEST.JCLCHEK.TOOL
//SYSPROC DD DSN=ISP.SISPCLIB,DISP=SHR
// DD DSN=USER.ISP.CLIST,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
%JJCHECK3
//*
//***********************************************************
//STEP02 EXEC PGM=IEFBR14
//***********************************************************
//DD02 DD DSN=USER.TEST.JCLCHECK.REPORT,
// DISP=(MOD,DELETE,DELETE),
// UNIT=TESTDA,
// SPACE=(TRK,1)
//* |
can anyone help me why this error is coming.....
Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I don't see an ISPSTART command in your job. |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Thanks Kevin ,
I really forget to give theis ISPSTART .
But now I am getting this error
Code: |
ACF0C038 ACF2 LOGONID ATTRIBUTES HAVE REPLACED DEFAULT USER ATTRIBUTES
READY
PROFILE PREFIX(AB60399) /* CHANGE WITH YOUR ID */
READY
ISPSTART CMD(%JJCHECK3) TEST.AB60399.JCLRPT.FILE.S25868 AB60399.PACKA
ISPT036 Table in use -/-TBOPEN issued for table ISPSPROF that is in
READY
END |
can you help me how to solve it....
Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I think message ISPT036 is one of the most clearer messages...
O. |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Thanks for ur reply ...
But how to solve it I dont know .....
It is showing contention but how to remove it ... can you help me out... |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Again, the message is pretty clear: For ISPPROF you are using your regular profile. Assuming you are running the job from your session, this profile is already opened.
The solution is to allocate a temporary dataset for the profile, something like this:
Code: |
//ISPPROF DD DISP=(,DELETE),UNIT=SYSDA,SPACE=(TRK,(5,5,10)),
// DCB=(DSORG=PO,RECFM=FB,LRECL=80,BLKSIZE=3120) |
O. |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Thanks for the solution .
can you please tell me how to pass parameter to the program as i am getting this error .
ACF0C038 ACF2 LOGONID ATTRIBUTES HAVE REPLACED DEFAULT USER ATTRIBUTES
READY
PROFILE PREFIX(AB60399)
READY
ISPSTART CMD(%JJCHECK3) TEST.AB60399.JCLRPT.FILE.S86308 AB60399.PACKAGE.JCFILILE.S86308
ISPD104 Invalid parameter given
'PGM(EZYIIF) PARM(UCMD(%JJCHECK3)) TEST.AB60399.JCLRPT.FILE.S86308' invalid
READY
END |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
The syntax for passing parameters to ISPSTART (with the PGM flavour) is well described in the fine manual.
O. |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Thanks a lot ... |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Hi can you help me to find that in which library can be this routine DSSIAPI as i am getting this error .
>O> "VIEW DATASET('AB60399.JCL.RPT.TEMP') MACRO(JJC)"
62 +++ retc = DSSIAPI("INITSESSION", session_id, "JJ")
Error running D0JEJJ, line 62: Routine not found
112 *-* "ISPEXEC VGET (RC1)" |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
DSSIAPI sounds like a local module. You should ask your peers/managers/support?
O. |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
This is not the local subroutine but it is a function call
DSSIAPI("") is a function call to PRO/JCL |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10889 Location: italy
|
|
|
|
Quote: |
This is not the local subroutine but it is a function call |
on these forums local means something not provided by a standard z/OS installation
by standard is meant IBM products only
for which the documentation is available starting from
www-03.ibm.com/systems/z/os/zos/bkserv/index.html#other_pubs
so it does not make any difference from a documentation point of view that
the function is provided by purchased software or by an in house developed one
people outside Your organization do not have access to Your docs |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Have you asked your support people where the pro/jcl components are stored? If not, do so.
Are you permitted to run ISRDDN? If you are not familiar with isrddn, ask your support people. |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Hi ,
Can this DSSIAPI work in the batch mode or not . as i am trying to run it in batch mode while in the online mode it is working fine no error is coming....... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Does your JCL reflect every single library that is shown in TSO ISRDDN |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Thanks expat ,
I included all the library which were shown in the TSO ISRDDN
and i ran the job successfully .
But now i am getting this error.
SYS09088.T074542.RA000.AB60399R.R0273492 was preallocated (no free was done).
what does it mean and how i can solve it . Please let me know..... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
What was the message code issued, and what did it say in the relevent messages and codes manual ? |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Hi Expat ,
I am getting this information in the spool
ACF0C038 ACF2 LOGONID ATTRIBUTES HAVE REPLACED DEFAULT USER ATTRIBUTES
READY
PROFILE PREFIX(AB60399)
READY
ISPSTART CMD(%JJCHECK3 TEST.AB60399.JCLRPT.FILE.S31355 AB60399.PACKAGE.JCFILE.
SUCCESS AB60399.PACKAGE.JCFILE.S31355 )
GNSP000506
GNSP000506
SUCCESS OUTPUT TEST.AB60399.JCLRPT.FILE.S31355
SYS09088.T084238.RA000.AB60399R.R0112311 was preallocated (no free was done).
READY
\*
INVALID COMMAND NAME SYNTAX
READY
END
from where this error is generated I am not getting. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Have you read the manual to find out about TRACE |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2596 Location: Silicon Valley
|
|
|
|
Use PROFILE MSGID command to see the message numbers. |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Hi as you suggested i gave PRFILE MSGID and i am getting this msg.
SYS09090.T002634.RA000.AB60399R.R0222826 was preallocated (no free was done).
READY
PROFILE MSGID
READY
\*
IKJ56621I INVALID COMMAND NAME SYNTAX
READY
END
so for which it is saying that invalid command name . Can you tell me the way to find it as I have trace on even there I am not finding the error only in the last i am getting these error . |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2596 Location: Silicon Valley
|
|
|
|
What is this?
That is the line giving you the syntax problem. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2596 Location: Silicon Valley
|
|
|
|
TSO will not gather commands up and execute them as a bunch. Instead, it gets one command and process it, then looks for another.
Your clue is the 'READY'... that is when it is looking for another command. So, when you get an 'invalid syntax' message, you only have to look back to the last 'READY' |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Hi thanks as i removed that \* and i am not getting any syntax error but still getting this preallocation error
29 *-* EXIT
SYS09092.T023428.RA000.AB60399R.R0204269 was preallocated (no free was done).
READY
PROFILE MSGID
READY
END
because of this my output is not coming correct even my job is getting over with cc 00. |
|
Back to top |
|
|
|