× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We are on IBM I V7R3.
I am confused about the following:

I run command WRKOBJPDM LIB(library) Obj(name*) to get a list of name*
objects. I execute option 3 with prompt to run CRTDUPOBJ command on a
physical file. The command pops up with parm DATA(*YES). So when I copy
the file, the data comes with it.

I run command WRKOBJ lib/name* to get the same list of files. I execute an
option 3 with prompt to run CRTDUPOBJ command. The command pops up with
parm DATA(*NO). So when I copy the file, the data DOES NOT come with it.

The default on the CRTDUPOBJ command is DATA(*NO).

I cannot figure out where the CRTDUPOBJ from the WRKOBJPDM display is
getting the DATA(*YES).
Can some one point me to where this would override behavior would be
defined?

There are 4 versions of CRTDUPOBJ on the system - but the only one I would
be accessing is in QSYS.

Object Type Library
CRTDUPOBJ *CMD QSYS
CRTDUPOBJ *CMD QSYSV6R1M0
CRTDUPOBJ *CMD QSYSV7R1M0
CRTDUPOBJ *CMD QSYS38

Incidentally, this discrepancy led me to make an EMPTY backup file when I
thought I was making a complete data backup.
Mea culpa for not being diligent.


Paul


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.