Installing a program
Submitted by cloud_strife on Fri, 2008-11-14 13:40.
Hi !
Im trying to install a new application on CICS .
I already compiled this application and i have just to install it on CICS , but i don't
know how. Im trying use CEDA commands...am i right ? The app is inside a data set.
Anybody can help me ?
thks,
c.s.

Installing a program
The load modules must be in a dataset defined in the CICS regions DFHRPL Library concatenation.
Then you have to define the transaction using "CEDA DEFINE Transaction(XXXX) Program(YYYYYY) G(ZZZZZ)"
Install the group the transaction is defined in.
If the CICS region uses Program Autoinstall you should be able to run the transaction.
If the REGION does not use program autoinstall, define the program using "CEDA Define Program(YYYYYY) G(ZZZZZ)"
Then do a "CEDA INSTALL G(ZZZZZ)"
Run the transaction and enjoy.
Ian
Installing a program
Hi,
Can you explain the meaning of XXXX YYYYY and ZZZZZ ?
And how i know if the dataset that includes the modules
is defined in DFHRPL library ?
regards,
c.s.
Installing a program
XXXX should be replaced with your transaction name.
YYYYY should be replaced with your program name.
and ZZZZZ is the CICS RDO group name you will be using to define your application in.
Your systems programmer/support people should be able to tell you what libraries you can use for CICS applications.
If you define the transaction and programs, and run the transaction you will get an error if the program is not in the DFHRPL.
Ian
Installing a program
Hi Ian,
Im still confused...
Per example , if my program is in MYPROGS.C(PRG01)
What i should do to install it ?
Sorry , but it is my first time on CICS...hope you understand... :)
Thanks again,
c.s.
Installing a program
c.s,
You will define your program(the executable in the loadlibrary).
"CEDA DEFINE PROGRAM(PRG01) GROUP(MYGROUP) LANG(C)"
Where "MYGROUP" is the group name of your resources in CICS.
Then do a command to define the transaction to invoke your program.
(In CICS you have to use a 4 character transaction to initiate your program. I'm using "TRN1" as an example here. You can make it whatever your shop standards are)
"CEDA DEFINE TRANSACTION(TRN1) GROUP(MYGROUP)"
The you have to install your resources.
"CEDA INSTALL GROUP(MYGROUP)"
Now you can execute your transaction by clearing the screen and typing TRN1.
Hope it helps.
Ian
Installing a program
Hi Ian,
Thanks for your help ! :)
Just one more thing : I executed my program , and i didn't see any output
on the screen...where , or how , i can see the expected output ?
A kind of "JOBLOG" on CICS ?
Thanks,
Regards,
c.s.
Installing a program
c.s.
You can send the message to the CICS log.
But the easiest way to get data to display is to do a EXEC CICS SEND in your program.
ECAMPLE:
EXEC CICS SEND TEXT FROM(message) LENGTH(msglen)
PRINT ERASE NOHANDLE ;
EXEC CICS SEND CONTROL FREEKB NOHANDLE;
This will show message on the screen.
You can also design CICS BMS maps....
Ian
Installing a program
Hi Ian!
Nice !!!
But ,if i want to acess CICS log , what is the command ?
Thanks for your help!
Regards,
c.s.
Installing a program
You have to look in the z/OS JES log in SDSF. (same place as your batch/compile jobs end up)
You cannot see the CICS log from within CICS.
Find the CICS in the SDSF DA screen (Usually by doing a "PRE CICS1* " where CICS1* is the first few characters of your CICS region.)and select it. Page down and your output should be there.
Ian
Installing a program
Ok Ian.
Thank you !
:)
Regards,
c.s.