|
Tim: Tim Truax wrote: > > Dave Mahadevan wrote: > > The program you are using to change the data area is not changing the > > data area in your EDIDATA library but in data area MOVETEST in QTEMP for > > the job. RPG (I am assuming your program is), program creates a data > > area called that in QTEMP. check this out in debug (preferably not in > > batch). > > Even though we explicitly state the library where the dataarea MOVETEST > resides? Could MOVETEST be a system name for a dataarea? I dont think so. You are very specific in the command. > > SBMJOB CMD(CHGDTAARA DTAARA(EDIDATA/MOVETEST (1 6)) + > VALUE('DONE ')) JOBPTY(5) As Dave Kahn mentioned you are trying to change the data area directly with a SBMJOB not using a program (which I assumed). My suggestion is put a DLYJOB after the SBMJOB for say 60 seconds and then do RTVDTAARA. The JOBPTY(5) may be making the job wait in batch for a while allowing higher priority jobs to run first ! Of course, as you progress in your learning you will learn about messages and retrieving information about jobs. The AS/400 is full of wonders and there is never a dull day. -- Thank You. Regards Dave Mahadevan.. mailto:mahadevan@fuse.net * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. 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.