PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

CPYF with RRN sequence

View previous topic View next topic Go down

CPYF with RRN sequence

Post  rajkumar400 on Mon Dec 27, 2010 12:48 pm

CPYF: Copy the records by the keyed sequence.

But i want to copy the records in arrival ( RRN ) sequence.

Please advice me.

Raj

rajkumar400

Posts : 59
Join date : 2010-12-25

View user profile

Back to top Go down

Re: CPYF with RRN sequence

Post  soundhar on Tue Jan 11, 2011 1:40 pm

CPYF FROMFILE(EMPMST) TOFILE(CPYEMPMST) MBROPT(*ADD/*REPLACE) FROMRCD(1) TORCD(10)

FROMRCD & TORCD -TAKE F10 FOR ADDITIONAL PARAMETERS AND TYPE RRN VALUE IN COPY FROM RECORD NUMBER(FROMRCD) AND COPY TO RECORD NUMBER(TORCD)


soundhar

Posts : 67
Join date : 2010-07-14
Location : Vridhachalam/chennai

View user profile

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum