Page 1 of 2

Start up CICS

PostPosted: Fri Dec 30, 2011 3:14 am
by clapclash
Hi guys!
I have a member that contains the SIT parameters and I am trying to start up CICS in SDSF with the command: /S MYID,START=INITIAL
The output is :
RESPONSE=ZTT1 IEE1321 START COMMAND DEVICE ALLOCATION ERROR

After googlin IEE1321 I know that I have a problem with the permissions. Now my question is: do I have to modify the SIT permission or something else? and how do I set them?

Thank you!

Re: Start up CICS

PostPosted: Fri Dec 30, 2011 5:02 am
by Robert Sample
The IEE1321 message merely points the way -- there should be other messages that indicate what the problem is (such as ICH408I for RACF security, for example). Without knowing what those messages indicate, there is no way anybody can help you. I suspect the odds are very low at this point that you have any problem with the SIT, but you haven't posted enough to know that for sure.

Re: Start up CICS

PostPosted: Fri Dec 30, 2011 1:11 pm
by mongan
The guessing game starts again? ;)

Re: Start up CICS

PostPosted: Sat Dec 31, 2011 12:14 am
by clapclash
Robert Sample wrote:The IEE1321 message merely points the way -- there should be other messages that indicate what the problem is (such as ICH408I for RACF security, for example). Without knowing what those messages indicate, there is no way anybody can help you. I suspect the odds are very low at this point that you have any problem with the SIT, but you haven't posted enough to know that for sure.


The only message that I have got in SDSF is that one, I have checked in RACF the permission for the dataset that contains the SIT and there was no one so I created one and set it all the permission to ALTER, I have created the RACF permission even for a different dataset that contains some JCL. After I did all this I went back to SDSF and tried again "/S MYID,START=INITIAL" but I have the same message... I really can't figure out what's wrong... I hope you can help me guys.
Thank you

Re: Start up CICS

PostPosted: Sat Dec 31, 2011 12:24 am
by Peter_Mann
This could be as simple as a syntax error in the proc, a missing proc, or *other* errors that would product a JCL ERROR.
Can you see the output on SDSF, did you look?

Re: Start up CICS

PostPosted: Sat Dec 31, 2011 12:49 am
by clapclash
This is the output queue in SDSF:


********************************* TOP OF DATA **********************************
J E S 2 J O B L O G -- S Y S T E M M V S T -- N O D E

18.51.06 JOB06506 ---- THURSDAY, 29 DEC 2011 ----
18.51.06 JOB06506 IRR010I USERID ZCON625 IS ASSIGNED TO THIS JOB.
18.51.06 JOB06506 IEFC452I ZCON625W - JOB NOT RUN - JCL ERROR 317
------ JES2 JOB STATISTICS ------
23 CARDS READ
20 SYSOUT PRINT RECORDS
0 SYSOUT PUNCH RECORDS
1 SYSOUT SPOOL KBYTES
0.00 MINUTES EXECUTION TIME
1 //ZCON625W JOB UNIVER,
// ZCON625, **JOB STATEMENT GENERATED BY SUBMIT**
// NOTIFY=ZCON625,
// MSGLEVEL=(1,1)
2 //SYSIN DD * GENERATED STATEMENT

2 IEFC019I MISPLACED DD STATEMENT
2 IEFC607I JOB HAS NO STEPS
******************************** BOTTOM OF DATA ********************************

And this is the SIT:


000001 ********************************************************************
000002 *
000003 * Mainframe Challenge - Part 3
000004 *
000005 * CICS System Initilisation Parameter override
000006 *
000007 * (C) Copyright IBM Corporation. 2011
000008 *
000009 ********************************************************************
000010 GMTEXT='WELCOME TO CICS/TS 4.1'
000011 SEC=YES,
000012 CICSSVC=216,
000013 EDSALIM=500M,
000014 GRPLIST=(*FHLIST),
000015 GMTRAN=CESN,
000016 DFLTUSER=STC,
000017 XUSER=NO,
000018 USSHOME=/usr/lpp/cicsts/cicsts.v4r1
000019 .END
****** **************************** Bottom of Data ****************************

Re: Start up CICS

PostPosted: Sat Dec 31, 2011 1:12 am
by Peter_Mann
So, you've found the error then
// ZCON625, **JOB STATEMENT GENERATED BY SUBMIT**
// NOTIFY=ZCON625,
// MSGLEVEL=(1,1)
2 //SYSIN DD * GENERATED STATEMENT

2 IEFC019I MISPLACED DD STATEMENT
2 IEFC607I JOB HAS NO STEPS

there appears to be a blank line after the jobcard -
thus the GENERATED SYSIN
Check the actual JCL for syntax

Re: Start up CICS

PostPosted: Sat Dec 31, 2011 1:13 am
by Robert Sample
Sigh. This is not a CICS start up job. This is a mess. I suspect you just coded your SIT entries into your job stream and hence the missing SYSIN DD statement message.

If you do not have start up JCL handy, you need to look in the CICS manuals (find them at http://www.ibm.com if nowhere else) for the actual JCL to start up CICS. You also need to know of you are using a started task or batch job for CICS as the JCL is somewhat different depending upon which you use. At a minimum, you need to execute the CICS program with a STEPLIB (unless the CICS libraries are in the link list), not to mention the DFHRPL DD statement for application programs.

Are you aware that the SIT is compiled (actually, assembled) using the appropriate CICS batch utility program? The assembly process creates a load module, and the load module must be available to the CICS region when the start up JCL is executing. Have you verified that the defaults for the missing SIT values are all valid for your region? Have you verified that you have specified all SIT parameters that are required to be provided? Once assembled, you can provide overrides to the existing SIT when starting up the CICS region, but you must first have a valid SIT to do that.

If you have never brought up a CICS region, this is NOT a task for a student or beginner. You must get the various table elements assembled correctly, ensure the security system is configured correctly, ensure the Workload Manager is configured correctly, ensure VTAM is configured correctly, ensure the CICS region terminals are configured correctly, and so forth and so on. In other words, there is a LOT of work involved in getting a new region running.

Re: Start up CICS

PostPosted: Sat Dec 31, 2011 1:30 am
by Peter_Mann
Robert, man was I off base, I was thinking meerly JCL error, I need to remember to check the Forum the op posted to, not seeing all the JCL,and the errors, I bad a bad assumtion.
Have a Safe and Happy New Year.

Re: Start up CICS

PostPosted: Sat Dec 31, 2011 1:38 am
by clapclash
Rober I didn't code any SIT, I just had to copy 10 members (System Definition data set, Dump data set, Global Catalog data set, Intrapartition Transient data set, HTML Template data set, Local Catalog data set, Local Request queue, Temporary Storage data set, MVS Logger data sets, Delete) once copied I had to run each one except for Delete, then I copied the SIT (SIT660) in MYID.CICS660.SYSIN. Then back to SDSF and run "/S MYID,START=INITIAL".
I wasn't supposed to make any change, just insert my id somewhere in the jobs. I know this is not for beginner, but except for IBM reference books what would you suggest me as a book or tutorial???
Thank you guys!