When will you use OPEN and CLOSE opcodes in RPG program?
Answer / siddharth kumar
If you specify the letter "U" at columns 73 - 74 in a file description specification indicating that user control on a file. Hence we have to explicitly open and close the file in a program.
| Is This Answer Correct ? | 0 Yes | 0 No |
DIFFERENCE BETWEEN BINDING LANG AND BIND DIR WHEN USING IN SERVICE PGM...when using binding directory service pgm is necessary?
what is the function of cpysplf command?
how can u check no of records in a file?
what is the sequence when using cursor?
what are various techniques to pass parameters from one program to another?
what is the purpose of DMPCLPGM IN CL?
which indicator is used for read?
how does union file maintains record formats?
What is the purpose of FRCDTA (Force Data) keyword?
maximum number of subfiles that can be active for a single file is?
what is the purpose of indicators in rpg?
Hi.can any body give me the code for this quesiton please.Because i dont have to try to enter the code in to the AS/400 server.Please can anybody give the answer for this question with complete code? A smple RPLE pgm which accepts the starting number and ending number as parameter.It then has to count all the odd numbers b/w the accepted range of numbers and display the results/ Ex:if the input parameters are 11 and 30 the result should be 10(11,13,15,17,19,21,23,25,27,29) Please explain and give me the complete code?