How can the user implicitly open and close the files in RPG program ?

Answers were Sorted based on User's Feedback



How can the user implicitly open and close the files in RPG program ?..

Answer / vishwa natri

Enter UC in position 71-72 of F specs.

Use OPEN and CLOSE opcodes in RPG program to open and close files.

Is This Answer Correct ?    0 Yes 0 No

How can the user implicitly open and close the files in RPG program ?..

Answer / pp

By using USROPN keyword in F specs

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

How can we read file using curser? how to define a curser?

0 Answers  


which are the member types which seu supports?

0 Answers   IBM,


What is compiler directive in as400? Give example of compiler directive.?

0 Answers  


How to avoid using indicators in ile ?

0 Answers   IBM,


what is RCLRSC?

2 Answers  






how to get the cursor position?

0 Answers   IBM,


Hi Friends, I need immediately answer for this: Senario is that,I am selecting records from the display and window subfile on the basis of Reason Code and some more fields but spool file not showing the same records which i have selected by display and window subfile. Q.What could be the causes(resons)to not show records properly (just selected in the display file and Window subfile)according the selection criteria of the records. Q.What would be the solutions to show records properly in the spool file just as selected in in the display file and window subfile according to the selection criteria.

1 Answers   IBM,


Hi All, Can any one give me a suggestion for below prob One job is in MSGW due to decimal dara error and I find out stmt error and Value in DMUP. but my file has millions of records.So how can i find out on which record the error was occured....?

3 Answers  


What are the valid data types in Data Queue?

1 Answers  


1) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) What is Non-Join Logical file and its importance?

4 Answers   Cognizant,


can we use ASCII ,CDUP,SENDPASV commands in SFTP?

0 Answers  


define what a data area is along with a brief example of what it may be used for?

1 Answers   IBM,


Categories