|
I wonder what happens if he chooses to uncomment the display file in the program and make it user open, and then never open it? It should compile, and it should run without the requestor error? --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 06/28/05 16:21:39 To: RPG programming on the AS400 / iSeries Subject: Re: Running a program with a display file in batch Ricky - If you're using the subfile fields in the program, the answer is a qualified "no"...(that is, you could probably make the necessary program changes to allocate a display device and use it from within the batch program, but that would probably be not worth the hassle). However, as an alternative you could build a sequential workfile in qtemp that has the same fields as does the subfile. Make the necessary code changes in the program to use the workfile instead of the subfile. Then leave the display file closed, and open and use the workfile instead of the subfile in the batch program. Regards, Steve ----- Original Message ----- From: "Ricky Thompson" <rthompson@xxxxxxxxxxxxxxx> To: <rpg400-l@xxxxxxxxxxxx> Sent: Tuesday, June 28, 2005 3:26 PM Subject: Running a program with a display file in batch > Can this be done? We have a program someone modified to not ever display > a > screen in the program. They still update the fields and update the > subfiles > but they changed it to never do a exfmt so that they could run it without > user intervention. Now we need to be able to run this same program in > batch. But it says: CPF4103 Device *REQUESTER not found while opening > file > xxxxxx. Is there a way around this? Can I make the program think it's > somehow running on a interactive display? > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > > -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. .
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.