View previous topic :: View next topic
|
Author |
Message |
saidharrao Warnings : 1 New User
Joined: 19 Feb 2005 Posts: 27 Location: hyderabad-ap-india
|
|
|
|
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 |
|
|
Saroj Tripathy
New User
Joined: 05 Mar 2007 Posts: 23 Location: India
|
|
|
|
read IMS books buddy. you can go thru the manuals available in this forum... |
|
Back to top |
|
|
rajesh_1183
Active User
Joined: 24 Nov 2005 Posts: 121 Location: Tadepalligudem
|
|
|
|
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 |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
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 |
|
|
|