what is estimation? and what is the level identifier
parameter in PF?

Answers were Sorted based on User's Feedback



what is estimation? and what is the level identifier parameter in PF?..

Answer / swetha p rao

Level Identifier is a value that is generated when you
compile a file.Each file wil have a unique identifier.

Is This Answer Correct ?    9 Yes 1 No

what is estimation? and what is the level identifier parameter in PF?..

Answer / sunaina

I think we can have only one record format in a physical
file file then how the record level identifier can be two
for two members of a physical files. Could you please explain.

Is This Answer Correct ?    2 Yes 0 No

what is estimation? and what is the level identifier parameter in PF?..

Answer / sree

There are3 level identifiers for any PF. They are

1. At File level
2. At Member level
3. At Record level

Say PF1 is having two members MBR1 and MBR2. So, There will
be 5 level identifiers. 1 for PF1, 1 for MBR1, 1 for MBR2
and 1 for RecordFormat(MBR1) and 1 for RecordFormat(MBR2).

When you made changes to RecordFormat of MBR1, then only
Level identifiers of RecordFormat(MBR1) and MBR1 will be
changed.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More RPG400 Interview Questions

How can a screen field that has changed since the last output operation be detected?

4 Answers   IBM,


How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.

2 Answers  


How can we receive values from a called procedure in RPG?

1 Answers  


Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.

2 Answers  


What is the Record Address file. How can we use it in RPG program?

4 Answers  






Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On

0 Answers   IBM,


Suppose I have 3 jobs a b and c. I want to submit b after successful completion of a and want to submit c after successful completion of b. Without using job scheduler or job queue, how can I do that through cl program?

1 Answers  


1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD

4 Answers   Manhattan,


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


What you have to do in the display file when you are using message subfile?

1 Answers  


What are the types of identifiers?

0 Answers  


Hi all friend, Could Any body send me the code (with coding) of this senario because I have tried but I am stucking somewhere so Please reply ASAp with coding. senario:Q: I have to write the flat file(FLAT1) into the three different PFS (PF1,PF2 and PF3) with the respect of H line data, D line data and Z line data of flat file. where I have different data in flat file(FLAT1) which is mentioned below with data. H0929200909282009092820095529420003000073 D2222220006765555webservi001633.9909222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840001633.99001633.99851856492689800208001915 511001633.990408490000000.0000000003446048 1,3 110793145 09070700351 372367 Rosner Motors D3333320006774444webservi000271.2409222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840000271.24000271.24851856492689800208001835 511000271.240930680000000.0000000003450293 1 110793254 09072100079 373933 Rosner Motors Z0929200900000020001905.25 FLAT1 has the three pf data H line-represents the header pf data,D-Represent Details pf data,Z-Represents the trailer pf data Now I have to write H line data of flat file into Header pf (PF1),D line data of flat into datails pf(PF2) and Z line data of flat file into pf(PF3) with the spefic position(H,D and Z data of flat file into PF1, PF2 and PF3) of flat file.

4 Answers   IBM,


Categories