× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The fact that this is not "formal" doesn't bother me. The fact that this
will perform like sludge does. I think for now I'll live with CHKRCKLCK.

But, I'd love to see an enhancement to QTNRCMTI. If you could have it done
I'd be grateful (if you could have it PTF'd to V4R1 I be very grateful)

-Walden

-----Original Message-----
From: owner-midrange-l@midrange.com
[mailto:owner-midrange-l@midrange.com]On Behalf Of bvining@VNET.IBM.COM
Sent: Thursday, April 23, 1998 11:58 AM
To: MIDRANGE-L@midrange.com
Subject: Checking for uncommitted changes


Walden,

NOT a formal programming interface (ie, it can change from release to
release and/or NLV (National Language Version) to NLV), but:

    DSPJOB OUTPUT(*PRINT) OPTION(*CMTCTL)

followed by a CPYSPLF to a file should provide the information you need.

All files currently under commitment control will be listed, along with
a column indicating the number of pending changes for each file.

The information is repeated for each active commitment definition for the
job.

We have not heard requests in this area previously, but will consider
adding an indicator to the QTNRCMTI API (no promises though).

Bruce Vining

>
>I need a way to look for uncommitted changes in a job.
>
>I have looked into the Retrieve Commitment Information (QTNRCMTI) API, but
>this doesn't seem to help me. All I need to know is if there are any
>uncommitted changes, I don't care what files they are in or how many there
>are -- of course I won't complain if I get this info.
>
>For now I have resorted to checking for locks held by this job and assuming
>that if there are locks there are uncommitted changes and if there are not
>job locks there are not uncommitted changes. However this is somewhat
fishy,
>I would like a better way.
>
>Anyone have any good ideas? (Or even any bad ideas)
>
>-Walden
>

+---
| 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 MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---

+---
| 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 MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.