<Change information classification in footer> Agenda
1. What is the mean of PRFILE conversion
2. Flow of PRFILE conversion 3. Command of PRFILE conversion
2 Nokia Solutions and Networks 2014
<Change information classification in footer> What is the mean of PRFILE conversion
3 Nokia Solutions and Networks 2014
What is the mean of PRFILE conversion If the two packages property are vary widely, we need to do conversion when updating package. Only doing conversion, the parameters value can be inherited
4 Nokia Solutions and Networks 2014
Flow of PRFILE conversion
5 Nokia Solutions and Networks 2014
The program of PRFILE conversion is PRFCNVGX. PRFCNVGX is only deal with PRFILE conversion, if the parameter is defined in FIFILE, its conversion is deal by FIFCNVGX. If the parameter are all with convertibility in source and destination package, PRFCNVGX will deal with it. Otherwise when doing conversion, the parameter will be skipped. The struct of PRFILE: PRFILGX.IMG is divided into many record which record contains 15 parameters value and one class number. Class number is in the head of record. Total of one record is 32 bytes. Only by understanding of its structure can you understand the code of PRFCNVGX. After each conversion, the whole converted parameters will be printed.
6 Nokia Solutions and Networks 2014
<Change information classification in footer> Code flow of PRFCNVGX 1 Read the contents of the four files(PRFILE and PRBFILE in source and destination package) into a global variable 2 Check whether the conversion of S16.1 to S16.2 . If the conversion is in this special platform, code will enter in a branch which is deal with that. If the conversion is not in the special platform, the code will search the record of source and destination PRFILE one by one. If the parameter are all with convertibility in source and destination package, PRFCNVGX will deal with it. Otherwise when doing conversion, the parameter will be skipped. (Checking the changeability of parameter will use the PRBFILE in source and destination package.) 3 After conversion, code will load the content of PRFILE in destination package to disk.
7 Nokia Solutions and Networks 2014
<Change information classification in footer> Command of PRFILE conversion
8 Nokia Solutions and Networks 2014
PRFILE conversion from 16.9-0 to 10.30-0 ZIWY:S:UNIT=OMU,PATH=/Y2_16_9_0/LFILES,DRIVE=WDU-S; ZIWY:D:UNIT=OMU,PATH=/Y2_16_9_0/TMPDIR,DRIVE=WDU-S; ZIBC:,,PRFILEGX,IMG; // ZIBC:,,PRBFILGX,IMG; ZIBC:,,DXPFILGX,IMG; ZIBC:,,MAFILEGX,IMG; ZIBC:,,MEF****X,IMG;
DEY:S:I:OMU,0:LFILES:WDU-S:; // Determine the source package
DEY:D:I:OMU,1:LFILES:WDU-S:; // Determine the destination package DEE:WS,NODEF:Y2_16_9_0,CONVER,:PRFCNVGX,IMG,;