Problem solve Get help with specific problems with your technologies, process and projects.

Programming advice from the pros

Search400.com's experts provide quality advice on iSeries programming.

The Top Expert Advice newsletter helps iSeries professionals manage tasks they deal with regularly. Each month we will give you expert advice on such topics as security, backup and recovery, Web development and application development. Sign up to receive this newsletter, simply edit your member profile and check Top Expert Advice newsletter under the Tips section.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Answers to your technical questions and expert advice on iSeries programming.
View more Q&As

Read this month's Q&A's below or click here to read all the Ask the Expert responses related to programming.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
AUTOMATIC REFRESH ON DISPLAY | by John Brandt, application development expert

Dear John,
I'm trying to create a screen (subfile) to display inventory information. I realize that the automatic refresh screen is more efficient than pressing F5 (refresh). I think WRKACTJOB has a function key F19 (automatic refresh) that I'd like to use. Unfortunately, I have no idea if this is available on my system.

Read John's answer

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
OPTIONS FOR SORTING SUBFILES IN RPG | by John Blenkinsop, application development expert

Dear John,
I sort subfiles in RPG LE by copying the subfile records to array and then SORTA and copy the array back to the subfile. Is there another ways to sort subfile in RPG? How can I pass (to QSORT) a pointer to the subfile?

Read John's response

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
WORKING WITH COBOL SUBFILE RRN| by John Brandt, application development expert

Dear John,
I am developing a program to load the subfile. I'm loading a single page at a time with SFLSIZ greater than SFLPAG using COBOL. I have assigned the Page Down key and RRN as a hidden field in the subfile control record format as hidden fields with (2,0). When I use that field in the program, it is not getting compiled and gives me an error. Do you know what is going on?

Read John's response

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
SELECTING A RECORD CONTAINING A SINGLE QUOTE | by John Blenkinsop, application development expert

Dear John,
I would like to select a record containing a single quote via the OPNQRYF command in a CL program. How can I specify in a QRYSLT parameter?

Read John's response

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

** MORE IMPORTANT INFORMATION ON THIS TOPIC **

The Best Web Links: tips, tutorials and more.

Visit the ITKnowledge Exchange and get answers to your developing questions fast.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


Dig Deeper on iSeries skills

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close