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

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

Join the forum, it's quick and easy

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

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

Go down

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

Post  maran 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:
YCHGMDLVAL MDLVAL(YOLDLIB) VALUE(arc-lib)
YCHGMDLVAL MDLVAL(YCPYLIB) VALUE(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.
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

Back to top

- Similar topics

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