IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Sample code for CICS listener using TCPIP


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Nimesh.Srivastava

New User


Joined: 30 Nov 2006
Posts: 78
Location: SINGAPORE

PostPosted: Wed Apr 25, 2007 3:59 pm
Reply with quote

Hi,
Can anybody help me to provide the sample code for CICS listener using TCPIP. I need to write in my shop where I am not allowed to use the default CSKL because of it exits allowing UACC(NONE) and no user validation.
Thanks
Nimesh
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Apr 25, 2007 4:08 pm
Reply with quote

Why not take the default and change its behavior and validation?
Back to top
View user's profile Send private message
Nimesh.Srivastava

New User


Joined: 30 Nov 2006
Posts: 78
Location: SINGAPORE

PostPosted: Wed Apr 25, 2007 8:08 pm
Reply with quote

ah...that is what I asked my shop people but I was denied to use the same becasue of the IS policies. Tell me can I somehow customize the existing CSKL listener for my use, is the code available on some ibm site.
Next, can you help me exactly which parameters for the transaction CSKL needs to be changed to achieve
1. Limits requests to specific transactions, never those with UACC(NONE)
2. Limits requests to specific user, which never has access to the transactions with UACC(NONE)
Atleast, I can explain my case
Thanks
Nimesh
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Apr 25, 2007 9:38 pm
Reply with quote

Nimesh.Srivastava wrote:
ah...that is what I asked my shop people but I was denied to use the same becasue of the IS policies.
Horse feathers! icon_rolleyes.gif That is exactly why IBM includes samples.
Quote:
Tell me can I somehow customize the existing CSKL listener for my use, is the code available on some ibm site.
It is on your site, in one of the distributed source libs. Get the manual that describes the program and figure out which lib it is in. Then copy it over to your lib and alter it.
Quote:
Next, can you help me exactly which parameters for the transaction CSKL needs to be changed to achieve
1. Limits requests to specific transactions, never those with UACC(NONE)
2. Limits requests to specific user, which never has access to the transactions with UACC(NONE)
Not right now, why don't you figure out what they do and go from there?
Back to top
View user's profile Send private message
Nimesh.Srivastava

New User


Joined: 30 Nov 2006
Posts: 78
Location: SINGAPORE

PostPosted: Wed Apr 25, 2007 11:03 pm
Reply with quote

thanks for the info William...but can you tell me how do I find the path for the system library where the code is kept. Any hint would be of great help.
Thanks
Nimesh
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Apr 25, 2007 11:10 pm
Reply with quote

I use http://www-306.ibm.com/software/data/db2/zos/library.html as my front door......
Back to top
View user's profile Send private message
Nimesh.Srivastava

New User


Joined: 30 Nov 2006
Posts: 78
Location: SINGAPORE

PostPosted: Mon Apr 30, 2007 12:14 pm
Reply with quote

thanks William...would check it
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Apr 30, 2007 1:17 pm
Reply with quote

Hi!

Just a consideration on finding things

there are many requests for sample programs ims/db2 and so on

the posters if they are working in a MF installation shuld be told that all this material is available at their installation.

Once upon a time when software distribution was much simpler the last qualifier of "SAMPLIB" would classify the library as a source library containing samples.

Now things are much more complicated

the first and maybe the second qualifier denote the software product

"dsn710" or "dsn.v7r1m0" would identify the libraries related to db2 version 7 release 1 modification level 0

and then again to make the understanding more difficult IBM decided that even the other qualifiers should contain a product related identifier .. and a token describing the type of library, distribution or target ( run time )

so for DB2 the samplib would look like :
>> DSN710.SDSNSAMP"

>> DB2 version 7 releas 1
>> "S" target ... "SAMP" samples

the same concepts applies to, I dare to say, ALL IBM products

so I guess that now people asking for samples should be able to find them on their disks...

for the exact layout of a product libraries they should ask their software support people to get the exact names.

regards

e.s
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
Search our Forums:

Back to Top