what is estimation? and what is the level identifier
parameter in PF?
Answers were Sorted based on User's Feedback
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 |
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 |
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 | 3 No |
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
How to read alternative records in a pf by using rpg?
What is a record lock error?
What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?
parameters cannot be passed in which one??
How do you know if a record exists without doing a READ and CHAIN?
Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me
Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.