Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is the use of PURGE call on IMS DC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
saidharrao
Warnings : 1

New User


Joined: 19 Feb 2005
Posts: 27
Location: hyderabad-ap-india

PostPosted: Wed Oct 10, 2007 12:08 am    Post subject: What is the use of PURGE call on IMS DC
Reply with quote

Hi,
I have got few queries on DC concepts. can anyone help me with the answers?

1. When I switch from one transaction to another transaction, should the Message length be same? Ex: I am switching from transaction 01 to 02. The Io message area the I have defined in 01 is 1500 bytes and in 02 it is 1000 bytes. That means I am trying to switch from a greater length Io area to lesser length IO area. What will happen in this scenario?
2. Similarly, what will happen in vice versa switching?
3. What is the use of PURGE call? How to issue in the program and what are the ideal scenarios to issue?

Thanks,
Back to top
View user's profile Send private message

Saroj Tripathy

New User


Joined: 05 Mar 2007
Posts: 23
Location: India

PostPosted: Wed Oct 10, 2007 3:38 pm    Post subject:
Reply with quote

read IMS books buddy. icon_smile.gif you can go thru the manuals available in this forum...
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Wed Oct 10, 2007 6:54 pm    Post subject:
Reply with quote

Ans for Q1)
As of my knowledge there is no need of mentioning equal lengths for Message areas...u can define 5 bytes of msg area in 1st tran. and can pass 10 bytes to 2nd tran. and similarly vice versa...

Ans for Q2)
u can find the answer from the above....
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Oct 10, 2007 10:02 pm    Post subject:
Reply with quote

saidharrao

It is much more efficient to send a short message. For instance, if someone enters bad data and your program editing catches it, you can send an error message telling the operator what is wrong and keep the screen displayed. You need only send the length of data that you need. Going from one transaction to another should be a short message unless you have data that you are sending. Are you manipulating the attribute bytes in your MFS?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
No new posts PCOMM macro to call another PCOMM macro boyti ko All Other Mainframe Topics 4 Tue Jul 12, 2016 4:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us