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

force tablespace using LISTDEF input


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jzhardy

Active User


Joined: 31 Oct 2006
Posts: 139
Location: brisbane

PostPosted: Tue Aug 15, 2023 10:56 am
Reply with quote

is there any utility that will enable me to use LISTDEF as input to a force tablespace, eg:

-STA DB(&DBNAME) SPACENAM(&TSNAME) ACCESS(FORCE)

LISTDEF seems to work OK with DSNUPROC, but not with IKJEFT01.

any help appreciated
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Wed Aug 16, 2023 6:53 am
Reply with quote

IKJEFT01 is not a DB2 utility, it is the TSO terminal monitor program. As such, it has no support for LISTDEF.

What I have done in the past is to capture the results of the command -dis db(database name) spacenam(*) RESTRICT. Then you can build your -STA commands based on that for the tablespaces that need it.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts COBOL sorting, with input GDG base COBOL Programming 7
No new posts Concatenate 2 input datasets and give... JCL & VSAM 2
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
Search our Forums:

Back to Top