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

RMDS - Print table using DBNMALST


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mark Kerner

New User


Joined: 11 May 2014
Posts: 2
Location: USA

PostPosted: Thu May 15, 2014 8:38 pm
Reply with quote

I am looking for an example of how to print an RMDS table (not a report) using program DBNMALST.

The user guide shows that a parameter list should be coded as follows:

//xxxxxxxx EXEC PGM=DBNMALST,PARM='TABLE,PAGELEN', and I provided: PARM='ITBL,0'

I am not understanding what a valid table name is. I thought that it would be the name of any DB2 system table from RMDS. However, if I specify table name ITBL, a message of DBNM331E INVALID TABLE ITBL is returned.

Can anyone explain how this utility is used and provide a working example?

Thank you very much.

P.S. It is also interesting to note that the Mainframe SpellCheck highlighted RMDS as a misspelled term! Does anyone use this product any longer?
Back to top
View user's profile Send private message
Mark Kerner

New User


Joined: 11 May 2014
Posts: 2
Location: USA

PostPosted: Tue Aug 05, 2014 7:54 am
Reply with quote

I found the answer to my question. I was providing the name of an RMDS tablespace (e.g. ITBL) rather than the name of an RMDS table. Once I substituted the name of an RMDS table, such as 'REPORTS,0' in the EXEC statement, the step ran fine. Any table name in DBNUSER.tablename can be substituted in the step and that system table's contents will be printed.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7310
Location: Inside the Matrix

PostPosted: Tue Aug 05, 2014 2:22 pm
Reply with quote

Good work. Thanks for letting us know. It may help someone in the future.
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Proc print in Mainframe All Other Mainframe Topics 4
No new posts Need to read duplicate rows from tabl... DB2 3
No new posts Force a Return Code and print error m... SYNCSORT 30
No new posts Hex Table COBOL Programming 2
No new posts Print next line strings when a condit... DFSORT/ICETOOL 9
Search our Forums:

Back to Top