|
Hi David VARPG uses 2 jobs on an AS/400, one for data access, one for running programs or daraarea access. So you are using one job when calling your CL program and the other job when opening the file, which gives you 2 different QTEMP's, that's causing the problem you have. Now to allow access to the dataaccess job we created QCMDDDM, which is a QCMDEXC only using the data access job instead of the second job. If you invoke your CL program with QCMDDDM your scenario should work. There is a sample in Visual Programming Guide for how to invoke QCMDEXC, just switch that to QCMDDDM, do a SEARCH for QCMD* in the programming guide that'll help you find it. Claus Weiss Visual AD tools, email: weiss@ca.ibm.com Dept 522 IBM Canada Lab tie778-3987 Phone(416)448-3987 FAX(416)448-4414 Greetings from Toronto +--- | This is the CODE/400 Mailing List! | To submit a new message, send your mail to CODE400-L@midrange.com. | To subscribe to this list send email to CODE400-L-SUB@midrange.com. | To unsubscribe from this list send email to CODE400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: larry@scjins.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.