|
I have done this before in a QAD (Quick and Dirty) mod. You can use a PF in place of the subfile. Use the same field names. Write to the PF instead of the subfile. > -----Original Message----- > From: Contractor1@Parkdalemills.com > [mailto:Contractor1@Parkdalemills.com] > Sent: Monday, December 18, 2000 11:33 AM > To: RPG400-L@midrange.com > Subject: Re: Subfiles in batch job > > > > I tried this about four years back when I wanted a dynamic > array in batch > (thought I'd use a subfile as my dynamic array). I found it pointless > because you still have to lock a workstation device. There is > some system > arbitrator that threw a money-wrench in my plans. Somethings may have > changed since then. If you get it to work, I'll be interested > how. I'll be > watching the responses you get. > > Patrick Conner > www.ConnecTown.com > (828) 244-0822 > > > > > > Ed_DeRyder@kleint > > ools.com To: > RPG400-L@midrange.com > Sent by: cc: > > owner-rpg400-l@mi Subject: > Subfiles in batch job > drange.com > > > > > > 12/18/00 11:41 AM > > Please respond to > > RPG400-L > > > > > > > > > > A coworker is converting an interactive RPG program to be > used in a batch > job. > To keep the changes as minimal as possible he would like to use the > existing > display file and associated subfile logic, without the screen I/O of > course. He > is receiving "session or device error" messages when trying > to open the > display > file in the batch job. Is it possible to use a display file > in batch? If > so, > what must be defined in the program and/or display file to > make it work? > > Thanks in advance! > > Ed De Ryder > Ed_DeRyder@kleintools.com > > > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to > RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.