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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

do you use message subfiles? What are the necessary keywords required coding a message subfile?

786


what are the key words you must use when using a subfile?

777


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2146


How to write record if no field or the field are different in physical file in rpgle ?

580


what is the rpg system?

767






explain sflclr, sflend, sfldlt, and sflcsrrrn?

973


what is the necessary keyword needed to scroll subfile records?

784


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1564


What is the difference between iter and do?

795


What is the purpose of record level identifier?

805


How can we know running job is batch or interactive?

750


How to select highest score of each subject or how to select highest income of every month?

1390


can I touch the array during treatments?

847


how does the rpg element work?

815


What is the difference between copybooks and subprocedures in as400?

940