How to define Map for varying inputs...?

About CICS and BMS - In this Mainframe Forum - You can post your queries on CICS

Moderators: DikDude, Natarajan, Moderator Group

Post Reply
krishnaprakash04
Member
Posts: 6
Joined: Sun Sep 20, 2009 6:02 pm
Location: ambattur estate

How to define Map for varying inputs...?

Post by krishnaprakash04 » Thu Nov 05, 2009 6:20 am

Hi, iam doing a mini project on credit card information. In that by using map, i have to display entire transactions made by a customer in one month. But each and every customers have different no. of transactions in one month. Then How can i create map, such that it suits for all customers...?

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Thu Nov 05, 2009 11:13 am

Defining map is stright forward... how many transaction records , you can show in
a map... define those many lines...

Use scrolling logic inside your program... whenever user press F8/F7.. show rest of
the transaction records.. if that customer has more than no of records fit into one map...
Natarajan
Chennai

krishnaprakash04
Member
Posts: 6
Joined: Sun Sep 20, 2009 6:02 pm
Location: ambattur estate

Post by krishnaprakash04 » Fri Nov 06, 2009 6:18 am

Thanks for replying boss. But I can't get u. For ex., one customer may have done 10 transactions in a month. another customer may have done 20 transcatons in a mon th. similarly it varies for different custimers. So, i have to write a code's for map, such that it'll suit for all customers.

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Fri Nov 06, 2009 10:17 am

Let me know, how many transactions you can show on a single map ( or a screen ).
Natarajan
Chennai

krishnaprakash04
Member
Posts: 6
Joined: Sun Sep 20, 2009 6:02 pm
Location: ambattur estate

Post by krishnaprakash04 » Sun Nov 08, 2009 7:32 am

FOr example, consider these. iam having 3 customers, one customer have done 10 transactions. other one made 20 transactions, and the last one made 43 transactions.

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Mon Nov 09, 2009 11:22 am

You did not answered my question. HOw many records you can show to user. It is not user trnasaction dependent, it is moiter space dependent.

since we can show 20+ lines on a screen.. after removing your header on the screens. how many you records/transactions ( max ) you can show to user.
Natarajan
Chennai

krishnaprakash04
Member
Posts: 6
Joined: Sun Sep 20, 2009 6:02 pm
Location: ambattur estate

Post by krishnaprakash04 » Mon Nov 09, 2009 9:02 pm

7 records

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