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

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

How to create a PF without loosing the data in SYNON?

Go down

How to create a PF without loosing the data in SYNON?

Post  maran on Wed Dec 30, 2015 12:20 am

By changing the below model values we can achieve this:

YOLDLIB - Name of the library into which you want old physical files archived.
YCPYLIB - Name of the library from which you want physical file data copied during the generation process.

Normally these two model values are the same because you store data in an archive library and then copy the data back from the same library.

Firstly create an archive library for this process (I refer to this as arc-lib):
CRTLIB LIB(arc-lib) TYPE(*TEST) TEXT('Archive library for my model')

Secondly Change the model values YOLDLIB and YCPYLIB to be arc-lib:

Thirdly Use YEDTLIBLST to edit your model's interactive and batch JOBD library lists to include arc-lib.

Now we are all set to recompile the PF without loosing the data.

Posts : 442
Join date : 2009-07-24

View user profile

Back to top Go down

Back to top

- Similar topics

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