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...


i)What is the command to lock a file in a program
ii)2. Can you get a level check error in a CL program

Answers were Sorted based on User's Feedback



i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL pro..

Answer / vaibhav gupta

For 2) If a file is declared in Cl pgm we can get a level
check error in the CL pgm.

Is This Answer Correct ?    15 Yes 1 No

i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL pro..

Answer / naveen chandra joshi

The questions asked are:
i)What is the command to lock a file in a program?

ii)Can you get a level check error in a CL program?

Answers:
1) ALCOBJ,

2) Yes,if the file is declared in CL program then we can get Level Check error in case of record level identifier mismatched. I have tried this in the system and then only posting over here.

Regards,
Naveen Chandra Joshi.
+91.9891501280.

Is This Answer Correct ?    6 Yes 0 No

i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL pro..

Answer / avinash

1) ALCOBJ
2) No,not in CLP

Is This Answer Correct ?    5 Yes 3 No

i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL pro..

Answer / saravan

1) We can lock by using ALCOBJ command. To know about
object locks, use WRKOBJLCK file_name.
2) As every thing (File name, variable) will be taken as
parameter and path will be created each time in CL, we
won't get any level check error.
In RPG/LE, the level Id will be mapped to the program and
so we will get level check error.

Is This Answer Correct ?    3 Yes 1 No

i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL pro..

Answer / ss

in CL , level check is not handle

Is This Answer Correct ?    1 Yes 3 No

i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL pro..

Answer / rakesh

1.wenever u use a keyword USROPN in rpg pgm ,ten u r locking
tat file......
2. we wont get level check errors in clle..

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More RPG400 Interview Questions

HOW TO DELETE THE RECORD FROM MASTER FILE WHICH IS LINK BY ANOTHER TRASATION FILE WITH REFERTIAL INTYGRITY?

1 Answers   TCS,


Difference between RESET and CLEAR

1 Answers   TCS,


how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

4 Answers   iSoft, Wipro,


Maximum how many files declare in rpgle

3 Answers   TCS,


check existence of one record without using chain or read?

1 Answers   IBM,


How to declare the pull button in AS/400..

0 Answers  


Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?

1 Answers  


what is the equivalent keyword for CHAIN opcode ??

7 Answers   TCS,


Need a sql query: retrieve all duplicate records in table?

1 Answers  


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

1 Answers  


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

0 Answers  


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

2 Answers   iGate,


Categories