Use of CHNG and PURGE ?

IMS DB database, DL/I commands etc

Moderator: Moderator Group

Post Reply
payilagamch
Member
Posts: 12
Joined: Tue Jan 14, 2014 1:20 pm
Contact:

Use of CHNG and PURGE ?

Post by payilagamch » Wed Jan 15, 2014 9:18 am

Can any tell me the what is the exact use of DLI Functions CHNG and PURGE in IMS DB
Payilagam Chennai
www.payilagam.com

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Jan 15, 2014 9:38 pm

Suggest you look in the IMS documentation. If you find something that is not clear, post what you found and your doubt.

Someone should be able to clarify.
Have a good one

payilagamch
Member
Posts: 12
Joined: Tue Jan 14, 2014 1:20 pm
Contact:

Post by payilagamch » Thu Jan 16, 2014 7:36 am

Hi,

This is the information i got from internet. It does not give clear idea. i want to know in what conditions and how we use these functions practically. If any one has used these functions, please let me know.

CHNG call
The Change (CHNG) call sets the destination of a modifiable alternate PCB to the logical terminal, LU 6.2 descriptor, or transaction code that you specify. You can also use the CHNG call with the Spool Application Program Interface (Spool API) to specify print data set characteristics.

PURG call
The Purge (PURG) call allows your application program to send one or more output message segments (specified with the ISRT call) to the specified destination before the application program retrieves the next input message or issues a commit point.
Payilagam Chennai
www.payilagam.com

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Thu Jan 16, 2014 10:31 pm

Why look on the internet when the IMS manuals are the "holy grail" of documentation for IMS? You may need to refer to more than one manual - 1 for the definition and one for usage.
Regards
Nic

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Fri Jan 17, 2014 12:46 am

Suggest you try here:

http://publibz.boulder.ibm.com/cgi-bin/ ... 0912182714

This is the table of contents and you can search this manual using the yellow flashlight/tubelight at the top left of the page.

Suggest you download the manual as you will want it handy.
Have a good one

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others