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

cobol-datacomm - How to enclose two URT in PIB block


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
palas_2007
Currently Banned

New User


Joined: 30 Jan 2007
Posts: 6
Location: kolkatta

PostPosted: Thu Feb 08, 2007 4:15 pm
Reply with quote

How to enclose two URT in PIB block of a cobol-datacomm program ?
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: Sat Feb 10, 2007 3:48 am
Reply with quote

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
View user's profile Send private message
palas_2007
Currently Banned

New User


Joined: 30 Jan 2007
Posts: 6
Location: kolkatta

PostPosted: Sat Feb 10, 2007 10:19 am
Reply with quote

PIB menas program information Block
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: Sat Feb 10, 2007 9:24 pm
Reply with quote

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
View user's profile Send private message
palas_2007
Currently Banned

New User


Joined: 30 Jan 2007
Posts: 6
Location: kolkatta

PostPosted: Tue Feb 13, 2007 12:54 pm
Reply with quote

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
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Tue Feb 13, 2007 5:11 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Feb 13, 2007 8:20 pm
Reply with quote

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
View user's profile Send private message
sunilv4u

New User


Joined: 31 Jul 2006
Posts: 5

PostPosted: Fri Feb 16, 2007 11:58 pm
Reply with quote

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
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top