Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

when do you explicitly open files and close files in an rpg program?

Answer Posted / salil kumar

If you specify the letter ' U ' at column 73-74, you need to be open and close files explicitly in a RPG program.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you read data area in an rpg program?

465


how do handle file exception/error?

288


How do I remove a flag or check no. or name when a user opens too many sessions?

1466


what is the sequence when using cursor?

261


is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.

1807






what is join logical file?

460


what are the different opcodes available in rpg for database access ?

370


what is the maximum number of files allowed in rpg?

410


Difference Between Interactive & Batch Job?

333


What is the as400 called now?

219


how will you search an array?

309


what are the different types of variables available in cl?

417


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

1422


Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?

1316


distinguish between terminating a program through seton lr and return?

254