× 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.


  • Subject: Re: PF with arrival sequence using CPYF ?
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Tue, 27 Oct 98 21:14:22 +0000

Hello Murali,

Specify FROMRCD(1) to force CPYF to read the file in arrival sequence.  Without 
this incantation CPYF reads 
the file via the key (if one exists).  In general, if you do not want the data 
in the target file written in 
key order you should always force CPYF to process sequentially since it will 
run much faster due to record 
blocking.

You don't need *ALL authority to use CRTDUPOBJ on a file.  You need *OBJOPR, 
*OBJMGT and *READ.

Regards,
Simon Coulter.

//----------------------------------------------------------
// FlyByNight Software         AS/400 Technical Specialists
// Phone: +61 3 9419 0175      Mobile: +61 0411 091 400
// Fax:   +61 3 9419 0175      E-mail: shc@flybynight.com.au
// 
// Windoze should not be open at Warp speed.
//--- forwarded letter -------------------------------------------------------
> X-Mailer: Internet Mail Service (5.5.1960.3)
> Date: Mon, 26 Oct 98 23:38:19 -0800
> From: "Murali Bhaavan" <Murali.Bhaavan@metamorgs.com>
> To: MIDRANGE-L@midrange.com
> Reply-To: MIDRANGE-L@midrange.com
> Subject: PF with arrival sequence using CPYF ?

> 
> 
> Hi,
> 
> As a part of the system testing I have to copy many PFs from one library
> to another.
> I am using the following two options for this.  
> 
>       1. CRTDUPOBJ.
>       2. CPYF.
> 
> I can comfortably use CRTDUPOBJ if I have enough authority (*ALL) on
> that PF object.
> 
> But the case is, for some libraries I have only *USE authority. So I
> can't use CRTDUPOBJ 
> The only way left to me is CPYF.  
> 
> But with CPYF I am unable to get the PF data into my library with
> arrival sequence. 
> I have tried with different options in CPYF, but could not get.
> 
> Is there any way through which I can get the data in a PF(a keyed file)
> in a different Library into my Library in Arrival Sequence?( though I
> have *USE authority ).
> If so please mail back to me or to the mailing list.
> 
> bye,
> Murali Bhaavan.

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.