bububut wrote:
Thanks a lot for all your support!

Hi Steve - I'm now in Shanghai, China and yes I'm talking about zOS.

For your better understanding, I'm following the steps listed here:
<http://www-03.ibm.com/servers/eserver/zseries/zos/sdsf/tools/sdsfrexx.html>
in step 2, it says "Concatenate the panel data set to ISPPLIB and the
skeleton data set to ISPSLIB."

In my envrionment, ISPPLIB is allocated by a DD name in my logon
procedure. So I think the context we are talking about is my user
address space. When in ISPF, I can use command DDLIST to see the
ISPPLIB ddname and several data sets in its concatenation, now I just
want to add another one into them.

The problem is I don't want to change the logon procedure - it is
shared by many other users. Then I tried 'ALLOCATE F(ISPPLIB)
DA('xxxxx') SHR' but still doesn't work. It seems that ALLOCATE will
firstly deallocate the original ddname and then allocate again with
the new data set. And it tells me that "FILE ISPPLIB NOT UNALLOCATED,
DATA SET IS OPEN".

Dave Salt had a good suggestion. However, the command he gave you:

  address ispexec "LIBDEF ISPPLIB DATASET ID('MY.DSN') STACK"

will only work in the context of a REXX exec or CLIST.


For the situation you're describing, I think I would go to
ISPF 7.6, where you'll see something like:

    Menu  List  Mode  Functions  Utilities  Help
  -----------------------------------------------------------
                              Invoke Dialog Service
  Command ===>

  Enter dialog service and its parameters:
  ===>



Then at the second arrow code:
===> LIBDEF ISPPLIB DATASET ID('panel_library_name') STACK

similarly for the ISPSLIB data set



Then, from the same place you can edit the REXX exec
you want by coding:

===> edit dataset(your_dataset(member))


and you'll be able to use the MODEL command.



So I just want to add a data set into the ISPPLIB concatenation while
giving no influence on any other data sets already there. Hope that
I've made my question clear ~

I think so.

Hey, I've got an idea: why don't you arrange for me to
come to Shanghai to teach a class! Maybe:

"Developing Dialog Manager Applications in z/OS"

see:  http://www.trainersfriend.com/TSO_Clist_REXX_Dialog_Mgr/a810descrpt.htm




On Sun, Oct 11, 2009 at 8:50 PM, Steve Comstock
<[email protected]> wrote:
bububut wrote:
Hi All,

I am new to Mainframe (get to learn Mainframe about 3 months ago). I
find it amazing and interesting exploring the mf world. But I have met
many problems as well. Lucky to find here to put my questions^

One of them is: How to add (or remove) libraries to an existed dataset
concatenation? I do not want to disturb other libraries already in the
concatenation. Is there any command or utility that can do this?

Thanks in advance for your help!

Wei
Welcome to the mainframe world, Wei. Where are you
located? It's nice to know there are people jumping
into the z/OS world (I assume you are talking about
z/OS, but you need to be aware that there are a
number of mainframe operating systems and it's
always a good idea to specify which one you are
talking about).

Your question is a little odd because you did not
specify a context. Data sets in and of themselves
do not exist in a concatenation. But when you run
a job or started task it is usually done using
JCL; in JCL you can concatenate a string of data sets
to belong under the grouping of a single DD name: but
that is only in the context of that job or task.

You can create a concatenation dynamically with
the TSO allocate command or calls to various system
services; again, such a concatenation exists only
in the context of the program issuing the command
or calls.

Under z/OS UNIX in some situations (e.g., the STEPLIB
environment variable) you can create a concatenation
of libraries. But, once again, the concatenation only
has signficance to the process where the environment
variable is used.

How you change a concatenation depends on how the
concatenation is built: by JCL, by commands. or by
setting an environment variable.

Given that, can you tell us more specifically what
you are after?

--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
    * Our classes include
       + How things work
       + Programming examples with realistic applications
       + Starter / skeleton code
       + Complete working programs
       + Useful utilities and subroutines
       + Tips and techniques

==> Ask about being added to our opt-in list:              <==
==>   * Early announcement of new courses                  <==
==>   * Early announcement of new techincal papers         <==
==>   * Early announcement of new promotions               <==

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to