Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: cobol-datacomm - How to enclose two URT in PIB block
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

Site Director


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

PostPosted: Sat Feb 10, 2007 3:48 am    Post subject:
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    Post subject:
Reply with quote

PIB menas program information Block
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Sat Feb 10, 2007 9:24 pm    Post subject:
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    Post subject:
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    Post subject: Re: cobol-datacomm - How to enclose two URT in PIB block
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

Site Director


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

PostPosted: Tue Feb 13, 2007 8:20 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us