|
I have created a number of user spaces and copied various spool files and their attributes into them and created a library containing these files : User Space Size SB000001 *USRSPC USRSPC 61440 SB000002 *USRSPC USRSPC 32768 SB000003 *USRSPC USRSPC 32768 SB000004 *USRSPC USRSPC 20480 I then have a program that runs that converts these user spaces back into spoolfiles : c callp(e) QSPCRTSP(wkFile: dsSA: dsEC) c if %error c eval wkSaveArea = wkSplfArea c callp QMHRSNEM(*blanks: dsEC: dsRS: %size(dsRS): c 'RSNM0100': *NULL: 0) c endif c callp(e) QSPPUTSP(wkFile: peUsrSpc: dsEC) c if %error c eval wkSaveArea = wkSplfArea c callp QMHRSNEM(*blanks: dsEC: dsRS: %size(dsRS): c 'RSNM0100': *NULL: 0) c endif c callp(e) QSPCLOSP(wkFile: dsEC) c if %error c eval wkSaveArea = wkSplfArea c callp QMHRSNEM(*blanks: dsEC: dsRS: %size(dsRS): c 'RSNM0100': *NULL: 0) c endif c eval wkSaveArea = wkSplfArea c eval *inlr = *on The problem is that no spool files are created by the QSPCRTSP, QSPPUTSP API's. I have run a debug and the parms passed to the API's definitely contain data when passing or returning. I am missing something VERY elementary and I am afraid I do not know what. Any advice would be appreciated. PS - These are 2 programs from the News400 backup spool files offering. Thanks and regards Anette IMPORTANT NOTICE: This email message and any attachments are confidential and intended solely for the addressee. If you have received this message in error, please notify us immediately via email: complaints@xxxxxxxxxx Any unauthorized use, alteration or dissemination is prohibited. Bell Equipment accepts no claim whatsoever for any direct, indirect or consequential loss arising from any communication whether directed, misdirected or intercepted. This email is subject to important restrictions and qualifications subject to the disclaimers published on our website (www.bellequipment.com). The disclaimer is deemed to form part of the content of this email in terms of Section 11 of the Electronic Communication and Transactions Act,25 of 2002. If you cannot access the Disclaimer, please obtain a copy thereof from us by sending an email to helpdesk@xxxxxxxxxx
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.