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

PSB for corresponding program


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
brindha christy

New User


Joined: 26 Aug 2008
Posts: 20
Location: India

PostPosted: Wed Nov 19, 2008 5:22 pm
Reply with quote

How can i find which PSB is for which program? I am having a job which is calling a program XYZ through DFSRRC00. But i donno the PSB for this program XYZ. Is there a way i can find it?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Nov 19, 2008 5:50 pm
Reply with quote

among the most important parameters for DSFRRC00 are ...
PROGRAM_NAME
PSB_NAME

check the execution jcl and You will find it there
sometimes for better understanding of what is going on
the psb_name is the same as the program_name
Back to top
View user's profile Send private message
brindha christy

New User


Joined: 26 Aug 2008
Posts: 20
Location: India

PostPosted: Wed Nov 19, 2008 5:58 pm
Reply with quote

The PSBName is not mentioined in the parameter. Its just a Symbolics which i would have to override. As i am not sure of the PSB name i am unable to override too.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Nov 19, 2008 5:59 pm
Reply with quote

then check the application documentation
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Nov 19, 2008 7:33 pm
Reply with quote

If this is a process that is currently running, then you could also check the system logs.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Nov 19, 2008 9:15 pm
Reply with quote

Check is your execution JCL library. This is a PROC that is executed from JCL where the symbolics will be defined. Scan for the name of your PROC.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Nov 19, 2008 11:16 pm
Reply with quote

brindha christy wrote:
Its just a Symbolics..
Please tell me you are not Kidding, is this symbolic no where defined in your JCL ? I don't happen to accept it, please assist me.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Thu Nov 20, 2008 2:35 am
Reply with quote

Some are not familiar with "PROC" libraries or their corresponding "execting JCL" libraries. They may be familiar with the "PEND" statement for instream JCL execution - however not how things work in the production environment. Many installations use "auto schedule" JCL which go thru things like CA-7 and CA-11 to manage their jobs. Posters here must remember - or be aware - that we do not know what exists in their particular environment.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Nov 20, 2008 9:37 pm
Reply with quote

Hello Brindha Christy,

Do you have your question resolved?

When you submit a job, do you understand the jcl being submitted? If you have any questions about your process and post your jcl here, someone will be able to clarify.

All of the specifics about your system will be on your system and known by the people who support the system for your organization. If you have not done so already, it would be good to talk with other developers who work on the same system.

We can provide a lot generic assistance and sometimes even specific assistance, but what we can do for specific assistance is limited by what we are provided (i.e. what you post) or by making a lucky guess.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Nov 21, 2008 12:37 am
Reply with quote

Different companies have different standards. A lot of places insist that you test with the same PROC (JCL) that you will be using in production. The symobolics make that easy. Your execution test JCL in test points to test stuff.

Some companies do not even use PROCs - surprising - but they don't. Some companies set up a region for submitting BMP jobs thru a message switch from an MPP which then submits the job thru the internal reader.

You should be able to scan both your test and production libraries to find out which jobs submit that particular procedure and thus what the symobolics are.
Back to top
View user's profile Send private message
brindha christy

New User


Joined: 26 Aug 2008
Posts: 20
Location: India

PostPosted: Fri Nov 21, 2008 5:01 pm
Reply with quote

This proc is a new one which we are trying to develop. The job also needs to be created new for this proc.

In the document for this proc, they stated one of the PSB to be used. But when we trying running using that PSB, i am getting an error stating that the PSB is in-correct.

So i am just trying to figure out if there is anyother way in finding the correct PSB name with just the Program load module name.

Hope this clarifies.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Nov 21, 2008 5:11 pm
Reply with quote

Please please use a bit of logic...

the procedure is new,
the application doc is there and give ...
the program name and
the psb name to be used


the only way out is to reread the docs an build a proper psb. full stop

no searching, no forum posting, no forums replies, will help You to discover
what is missing and/or what has not be done properly.

start from scratch on the activity checklist hoping to find where the error has occurred
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Nov 21, 2008 7:00 pm
Reply with quote

I am a VERY STRONG advocate of each program having it's own PSB with a matching name. Find a PSB with similar processing options and copy it.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Nov 21, 2008 7:08 pm
Reply with quote

the main point here is that they do not have the slightest idea of what the program is supposed to do

TS said that they have only the name of the excutable program
Quote:
So i am just trying to figure out if there is anyother way in finding the correct PSB name with just the Program load module name.


I would say that a wrong psb is the smallest of their problems
Back to top
View user's profile Send private message
sathyapriyadamodaran

New User


Joined: 05 Dec 2008
Posts: 5
Location: chennai

PostPosted: Fri Dec 19, 2008 12:21 am
Reply with quote

I have got a problem with the PSB.

When i try to execute a program i got an error load modules of some subroutine not found.I added the load module of the subroutine and try to execute it but the PSB That i was using got locked.

This Question is already posted by someone in this Forum but no reply found.Can anyone help me on this.

With the help topics i found the below solution
/START PGM psb-name

But dont know where to execute it.Can anyone provide screen shot to show where should i execute the command ,If this is the solution.

Thanks
Sathya
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Dec 19, 2008 12:24 am
Reply with quote

Execute the start command in the region that you abended. Do a /dis pgm all to make sure you are in the correct region.
Back to top
View user's profile Send private message
sathyapriyadamodaran

New User


Joined: 05 Dec 2008
Posts: 5
Location: chennai

PostPosted: Fri Dec 19, 2008 12:56 am
Reply with quote

How is PSB and ACBGEn related? If we delete a PCB should the ACB Gen also be deleted?
Back to top
View user's profile Send private message
sathyapriyadamodaran

New User


Joined: 05 Dec 2008
Posts: 5
Location: chennai

PostPosted: Fri Dec 19, 2008 12:58 am
Reply with quote

If we delete a PSB should the ACB also be deleted.I have misspellt PSB as PCB
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Dec 19, 2008 1:33 am
Reply with quote

A PSB is a "program specification block" - it tells your program and IMS what you want to do with specific databases and the segments within. Never-ever-ever use someone else's PSB - you will cause them problems and they will get angry - if you find a PSB that has similar specifications to what you need - just copy it and name it to your corresponding program name.

When you are going to develop something new in an online environment, IMS needs to know about the transactions. An ACBGEN gives IMS that information. Here is the link to learn about it....

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims9.doc.adb/dba113.htm
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Fri Dec 19, 2008 2:16 am
Reply with quote

It is an IMS operator command. Not exactly sure, but try:

1. IMS master console
2. z/OS console - as a response to outstanding reply
3. SDSF syslog display.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top