View previous topic :: View next topic |
Author |
Message |
sankarthamma Beginner

Joined: 20 May 2010 Posts: 10 Topics: 8 Location: chennai
|
Posted: Sun May 23, 2010 10:40 am Post subject: Exact Importance of OCCURS clause in BMS. Real Time Example |
|
|
Exact Importance of OCCURS clause in BMS. Real Time Example  _________________ T.S.REDDY
CICS |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Sun May 23, 2010 9:02 pm Post subject: |
|
|
sankarthamma,
Any transaction which displays more than 1 row for a query ( ex : employees in a dept or students in a class , credit/debit transactions )
Kolusu |
|
Back to top |
|
 |
sankarthamma Beginner

Joined: 20 May 2010 Posts: 10 Topics: 8 Location: chennai
|
Posted: Fri May 28, 2010 10:17 pm Post subject: |
|
|
I know little about this,if we want to repeat one field for more than once, we specify OCCURS=n (where n is no.of times)
R1 DFHMDF POS=(7,10),LENGTH=6,OCCURS=4,
INITIAL='------',PICOUT='X(6)',
ATTRB=(UNPROT,IC)
If we want to acess R1 field, it comes in ROW- WISE.
ex:
------ ------ ------ ------
R1(0) R1(1) R1(2) R1(3)
what should i specify to get the R1 field in COLUMN-WISE.
------ R1(0)
------ R1(1)
------ R1(2)
------ R1(3) _________________ T.S.REDDY
CICS |
|
Back to top |
|
 |
abdularab Beginner
Joined: 10 Sep 2008 Posts: 4 Topics: 2
|
Posted: Thu Oct 21, 2010 8:08 am Post subject: |
|
|
You can use VERTICAL option, where as HORIZONTAL is default |
|
Back to top |
|
 |
|
|