473,385 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

dsn1copy uses dynamic allocation for multiple pieces

I didn't get any hits when I searched deja for
DSN1COPY dynamic allocation
so either everyone else had no trouble realizing that this happens or
nobody else has ever come across it.

I've used DSN1COPY for years for moving data between z/OS subsystems for
testing, and for refreshing tables from Image Copies for regression testing.

Developers seem to find it less confusing to use the same JCL to move data
between 1 of 14 test environments (x 4 migration levels) that they use for
backing up and restoring DB2 data within the same test environment.

Worked like a charm (using SYSXLATE) for years, until one of the tablespaces
went to a 2nd 2 Gbyte piece dataset. My first attempt, without a DSSIZE
parameter, ran out of space after writing 4 Gbytes of data. VSAM Extended
Addressability is not available using any of the SMS Data Classes at our
site.

Perhaps it is just me, but after hours of thinking about what the Utilities
manual says the only sense I could make of it was that the initial piece
dataset name specified on the SYSU1 DD statement would be used as a model
DSName for dynamic allocation of additional piece datasets, after writing
the number of bytes specified explicitly on the DSSIZE parameter.

That turns to be exactly what happens. It allocated the second piece dataset
dynamically to DDname SYS00001.

Did I miss a clue in the manual about this happening for Standalone Utiities
such as DSN1COPY? It never occured to me that this might happen, since the
first piece dataset has to be specified via JCL. I would have expected it to
be all dynamic allocation or all JCL, not a mix of the 2 allocation methods.
Nov 9 '08 #1
0 2213

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: chris | last post by:
Hi all, I need to know, what is the difference between dynamic memory allocation, and stack allocation ? 1. If I have a class named DestinationAddress, when should I use dynamic memory...
5
by: Bill Carson | last post by:
I'm trying to dynamically allocate memory to an array of strings with the following (incomplete, for reference only) : int nLines, nChars, m, n, Cols.sTcolumn ; char ***sAtt; sAtt = (char...
24
by: Ken | last post by:
In C programming, I want to know in what situations we should use static memory allocation instead of dynamic memory allocation. My understanding is that static memory allocation like using array...
1
by: Peterwkc | last post by:
Hello all expert, i have two program which make me desperate bu after i have noticed the forum, my future is become brightness back. By the way, my problem is like this i the first program was...
1
by: Okonita | last post by:
Hello all, I have a question about loading DB2. I ran a DSN1COPY against a imagecopy of 1 tablespace and the output to a flat file instead of the original DB2 VSAM dataset. Can I use this flat...
14
by: vivek | last post by:
i have some doubts on dynamic memory allocation and stacks and heaps where is the dynamic memory allocation used? in function calls there are some counters like "i" in the below function. Is...
16
by: Steven D'Aprano | last post by:
On Tue, 09 Sep 2008 14:59:19 -0700, castironpi wrote: You've created a solution to a problem which (probably) only affects a very small number of people, at least judging by your use-cases....
21
by: arnuld | last post by:
I have created a program to print the input words on stdout. Input is taken dynamically from stdin. In each word, each input character is allocated dynamically. I have ran this program with a file...
0
by: sangitayadavgr8 | last post by:
Hi, My database has only one table which is segmented and has wround 20 M rows. This tablespace has 2 VSAM datasets A001 and A002 at the source and also in the target. I am using the image...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.