Thanks. I'm going to have fun to see which one works. I do want to be able to do a call XDXA from my pc at home, let it do it's thing, and then have it back up in the morning with the results waiting for me. It might not take too long, since I did one back in the summer. But I'm not sure how long it would be. I will try to work with all of them. MaryLou From: "Goodbar, Loyd (AFS-Water Valley)" <LGoodbar@afs.bwauto.com> To: "'firstname.lastname@example.org'" <email@example.com> Subject: RE: Doing A reclaim Storage Date: Thu, 3 Jan 2002 11:56:25 -0500 Reply-To: firstname.lastname@example.org I've used the following in programs that need to run in restricted state /* end subsystems */ ... /* check if we're in restricted state */ sbscheck: call pgm(QWCRSSTS) parm(&receiver &receiverl &format &reset &error) /* Restricted state flag is byte 31 (offset 30): */ /* Values: 0 = not in restricted state */ /* 1 = restricted state */ chgvar var(&rstdflag) value(%sst(&receiver 31 1)) if cond(&rstdflag *eq '0') then(do) dlyjob dly(60) goto cmdlbl(sbscheck) enddo /* in restricted state */ ... Loyd
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.