Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is LEVEL CHECK?

Answers were Sorted based on User's Feedback



What is LEVEL CHECK?..

Answer / shobhit

As per my knowledge…

When ever we compiled physical file, the system generates
unique code or level code for identifying the file.

And when ever we compiled RPG program using that file, the
compiler store the Level code of physical file for further
reference. That’s call lever check.

Ex: If you compiled the RPG program and after that made
some changes in physical file, and then call the RPG
program without compiling again it will give the Level
check error.

Please correct me if I am wrong &#61514;

Is This Answer Correct ?    83 Yes 7 No

What is LEVEL CHECK?..

Answer / mithun paul

Whenever PF is compiled, the system generates unique code
for identifying the file for future reference.

When we compile the Program that uses the PF, will use that
unique code of the PF.

If we now call the program, then its run successfully.But
if we change the PF and recompile the PF, the system
fgenerates a new unique code for that PF. So, our program
Don't have this unique code and hence terminates abnormaly
with a Level Check error.

The solution of Level Check error is when ever it happens
we have to either compile the PF with Level Check parameter
value *NO or we have to compile the program again.

Please let me know anyone, if i am wrong.


Mithun Paul
KMG Infotech Ltd.
Kolkata

Is This Answer Correct ?    61 Yes 3 No

What is LEVEL CHECK?..

Answer / abhishek

As per me ...Whenever we compile a PF system generates a Rcd
Fmt level identifier , which is a unique no . for record
format . If this file is being used by some pgm and we
change the structure of our PF for ex. we add one more field
or change some existing field length then and compile the PF
, then system generates a new code for the record FMt .

Level check occur when we change PF structure and do not
compile pgm which is using that file . Because the program
will be using the old identifier.
If we want to check identifier then we can ue command DSPFD
for file and for program we can use , DSPPGMREF to see the
FMt level identifier which is used by program for that file.

Is This Answer Correct ?    23 Yes 0 No

What is LEVEL CHECK?..

Answer / cran

Level check occurs @ scenorios like u are working on rpg
program that has a pf file r a display file,
the program is running properly ith the intial unique
generated. u change a pf r dispaly file field length r
position and try to call the rpg program with out compling
the dds u get a level check error ?
level check *no is not a good practise

Is This Answer Correct ?    12 Yes 4 No

What is LEVEL CHECK?..

Answer / srujana

When an HLL OBject is not linked with the current DDS then this error is occured called level check Error.

Is This Answer Correct ?    1 Yes 2 No

What is LEVEL CHECK?..

Answer / khanna

sorry i dont knw abt level check

Is This Answer Correct ?    5 Yes 7 No

What is LEVEL CHECK?..

Answer / shriram

level check error is nothing but when we creating pf and
compile it then system generate its own unique code.if we
use this pf in rpg program then system refers this pf using
unique code this unique code is called level check error

Is This Answer Correct ?    2 Yes 12 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what are various techniques to pass parameters from one program to another?

1 Answers   IBM,


For AS/400 Freshers good website is

3 Answers   HCL, HP,


what is the syntax for plist?

0 Answers   IBM,


how you get the relative record in a subfile in which cursor is located?

0 Answers   IBM,


What is the purpose of "A CSRLOC (F1ROW F1COL)"?

1 Answers  


What is the difference between keys of a Physical file and the keys of a logical file?

2 Answers   Bank Of America, BoA,


when would you prefer logical file than opnqryf?

1 Answers   IBM,


can you explain the difference between spacea,spaceb,skipa and skipb. I'm new to learning about as400 and printer files. can any one give me an example using source code showing the difference that occurs between using these 4 keywords. A-Physical file PF004 source UNIQUE R RR STUNAM 10 ROLLNU 5 0 MARKS 3 0 SEX 6 K ROLLNU 4 records present in PF004 are STUNAM ROLLNU MARKS SEX KAVYA 12,344 55 FEMALE MADHAVAN 14,579 60 MALE RAMYA 14,785 70 FEMALE KRISHNAN 14,988 72 MALE B-Printer File PRINT1 source A R HEADER A 10 3'STUNAM' A 10 20'ROLLNU' A 10 30'MARKS' A 10 40'SEX' A R DETAIL A SPACEB(1) A STUNAM 10 3 A ROLLNU 5 0 20 A MARKS 3 0 30 A SEX 6 40 A R FOOTER A SPACEB(1) A 20'END OF REPORT' C-RPG/400 Program PRTTPG source FPF004 I F E DISK FPRINT1 O E PRINTER C WRITE HEADER C READ PF004 60 C *IN60 DOWEQ *OFF C WRITE DETAIL C READ PF004 60 C ENDDO C WRITE FOOTER C SETON LR D-spooled file result set Display Spooled File File . . . . . : PRINT1 Page/Line 1/10 Control . . . . . Columns 1 - 130 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+.... 6....+....7....+....8....+....9....+....0....+....1....+.... 2....+....3 STUNAM ROLLNU MARKS SEX KAVYA 12344 055 FEMALE MADHAVAN 14579 060 MALE RAMYA 14785 070 FEMALE KRISHNAN 14988 072 MALE END OF REPORT Bottom F3=Exit F12=Cancel F19=Left F20=Right F24=More keys I have changed from SPACEB to SPACEA now in my printer file source E-Changed PRINT1 Source A R HEADER A 10 3'STUNAM' A 10 20'ROLLNU' A 10 30'MARKS' A 10 40'SEX' A R DETAIL A SPACEA(1) A STUNAM 10 3 A ROLLNU 5 0 20 A MARKS 3 0 30 A SEX 6 40 A R FOOTER A SPACEA(1) A 20'END OF REPORT' F-Spooled file Result Set after keyword change Display Spooled File File . . . . . : PRINT1 Page/Line 1/10 Control . . . . . Columns 1 - 130 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+.... 6....+....7....+....8....+....9....+....0....+....1....+.... 2....+....3 KAVYAM 12344U 055KS FEMALE MADHAVAN 14579 060 MALE RAMYA 14785 070 FEMALE KRISHNAN 14988 072 MALE END OF REPORT Bottom F3=Exit F12=Cancel F19=Left F20=Right F24=More keys Overprinting not displayed.

0 Answers   Tieto,


what does opcode post do ?

1 Answers   IBM,


How can a data area be locked after being updated?

1 Answers  


I have 1 rd in my flat file. say reord from 1 to 10 position : 'AS400NDB2400' I need to change the value from N to Y using SQL stmt ...How can I update this....?

5 Answers  


what opcode will be used to test the zone of a character field?

1 Answers   IBM,


Categories