Difference in data handling between maps



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Difference in data handling between maps

Postby Aashiq » Wed Apr 25, 2012 4:51 am

Hi,

I have a field named TRANS which is used to receive the transaction no and It is defined as below in BMS

TRANS DFHMDF POS=(1,7),LENGTH=4,JUSTIFY=(LEFT,BLANK),ATTRB=(UNPROT,N*
ORM,IC),PICOUT='X(4)' ,PICIN='X(4)'

And the above field TRANS is declared under a mapset of TYPE=MAP.

Suppose, If i define the same field TRANS under the mapset of TYPE=DSECT, what difference will be there in receiving and sending the value using PICIN and PICOUT of the TRANS field.

Please let me know your comments
Aashiq
 
Posts: 1
Joined: Thu Apr 19, 2012 12:32 am
Has thanked: 0 time
Been thanked: 0 time

Re: Difference in data handling between maps

Postby Monitor » Wed Apr 25, 2012 10:48 am

Firts: read the manual.
Picin and Picout are only used for the symbolic map (dsect) generation.
Generate the symbolic map, and you will se what has been generated in the COBOL-copy for the input and output-maps in the mapset. Change the values of the Picin and Picout and generate again, and you will understand.
Monitor
 
Posts: 98
Joined: Wed Jan 18, 2012 8:59 pm
Has thanked: 0 time
Been thanked: 7 times

Re: Difference in data handling between maps

Postby chandurokzz » Thu May 03, 2012 2:52 pm

Hi Aashiq,

As Monitor told
we need to use PICIN and/or PICIN, if symbolicmap needs to create for the map (i.e., one of the cases is when it is being created under mapset TYPE=DESECT)

What difference will be there in receiving and sending the value using PICIN and PICOUT of the TRANS field.


Observe the following piece of code, Assuming the MODE=INOUT
TRANS DFHMDF POS=(1,7),LENGTH=6,
PICIN='9999V99',
PICOUT='ZZ9.99'

Symbolic map would have the following fileds corresponds to TRANS
TRANSL COMP PIC S9(4).
TRANSF PIC X.
TRANSI PIC 9999V99.

TRANSA PIC X.
TRANSO PIC ZZ9.99

You can have look on the following link
http://publib.boulder.ibm.com/infocente ... i00160.htm


Cheers!
Chandu
chandurokzz
 
Posts: 10
Joined: Wed Apr 11, 2012 12:49 pm
Has thanked: 1 time
Been thanked: 0 time


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post