510 pts.
 CPYF thru RRN
CPYF: Copy the records by the keyed sequence.[Br style="padding: 0px; margin: 0px;" />[Br style="padding: 0px; margin: 0px;" />But i want to copy the records in arrival ( RRN ) sequence.[Br style="padding: 0px; margin: 0px;" />[Br style="padding: 0px; margin: 0px;" />Please advice me...
I think the work goes here only ....
[strong style="padding: 0px; margin: 0px;">Source update options . . . . . *Seqnbr *SAME, *SEQNBR, *DATE [Br style="padding: 0px; margin: 0px;" />[Br style="padding: 0px; margin: 0px;" />Source sequence numbering: [Br style="padding: 0px; margin: 0px;" />Starting sequence number . . . > 1.00 0.01-9999.99 [Br style="padding: 0px; margin: 0px;" />Increment number . . . . . . . 1.00 0.01-9999.99 [/strong]
[strong style="padding: 0px; margin: 0px;"> [/strong]
[strong style="padding: 0px; margin: 0px;"> [/strong]
[strong style="padding: 0px; margin: 0px;">so help me to solve this issue[/strong]


Software/Hardware used:
AS400
ASKED: January 9, 2011  7:09 AM
UPDATED: January 11, 2011  3:15 AM

Answer Wiki:
In cpyf use COMPRESS (*NO) or use CRTDUPOBJ instead of CPYF Phil
Last Wiki Answer Submitted:  January 9, 2011  6:31 pm  by  philpl1jb   44,130 pts.
All Answer Wiki Contributors:  philpl1jb   44,130 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

To copy by record number try this:

CPYF FROMFILE(UTLPF888)   
     TOFILE(XXXX)         
     FROMRCD(1)           
     TORCD(99)            
 5,525 pts.

 

Thanks its working

 510 pts.