View previous topic :: View next topic
|
Author |
Message |
palas_2007 Currently Banned New User
Joined: 30 Jan 2007 Posts: 6 Location: kolkatta
|
|
|
|
How to enclose two URT in PIB block of a cobol-datacomm program ? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I do not understand the question - what does "enclose two URT" mean?
Please provide much more information.
Include what urt's you want to use. Are you running some kind of transparency or is this a Datacom question (as opposed to an IMS question)? If you provide some basic info on the cobol program, that may help.
By PIB do you mean the first parameter of a "CALL 'DBENTRY" statement - that is often called the UIB. PIB means different things in different environments.
Said differently - is this using IMS at all? If not, this should be moved to the CA forum. |
|
Back to top |
|
|
palas_2007 Currently Banned New User
Joined: 30 Jan 2007 Posts: 6 Location: kolkatta
|
|
|
|
PIB menas program information Block |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
That's a start - now, please answer the other questions.
You need to include snips of the code from your program and the 2 urts.
If you want help, you must provide better details. For example - "enclose" is not a term used in connection with urts in Datacom. By urt you do mean User Requirements Table?
Sorry, but we can't read your mind. PIB may have meaning in your environment, but it is not used in standard Datacom.
Please re-read my prior post and provide all of that information as well as that requested above. |
|
Back to top |
|
|
palas_2007 Currently Banned New User
Joined: 30 Jan 2007 Posts: 6 Location: kolkatta
|
|
|
|
hello
In my program I have used to datacomm tables. We have found two URT for two tables
.I need to enclose this Two URT in my program ,
BEcos I know i can enclose one URT in my program .
is it possible to enclose two URT ? |
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
hi,
As of my knowledge, u will have only one URT for all the tables in a cobol datacom tables. RU sure u have two??
For different tables, we will have all the entries for the tables in the same URT
~Vamsi |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
First - This a batch program, correct?
Next - if you need only 2 tables in a batch run, it is advisable to have a urt with both tables in it. If you look around in the urt source library, you may find one that has both tables. Depending on your situation it may not matter if there more tables in the urt than you need. Hopefully, your site dynamically loads the table information at run time rather than includeing the entire urt in the linkedt.
The datacom shops i've supported control the creation of new urts. Programmers and others work with the dbs(s) when there are new requirements. If you talk with your dba(s) they may be able to tell you the name of a urt that will do what you need.
To get a custom urt for this program (and many datacom sites create program or jobstream specific urts) copy the "first" urt to a newname then add the table parameters for the second table to it. You will then have a urt with your 2 tables. Make sure you follow your site's naming convention for urts. Again - this is typically done with the the dba(s) even if you create the source.
There is more info in the dba admin guide on multiple urts, but i don't recommend trying it until/unless you become VERY familiar with the environment. |
|
Back to top |
|
|
sunilv4u
New User
Joined: 31 Jul 2006 Posts: 5
|
|
|
|
he is correct. for both the tables you need to create a single URT.IF you delete a table from the RES...that works.But if you add a rec you need to create the URT.Hope this helps you |
|
Back to top |
|
|
|