View previous topic :: View next topic
|
Author |
Message |
Vishu
New User
Joined: 23 Mar 2009 Posts: 22 Location: Bangalore
|
|
|
|
Hi,
I am using occurs clause in the map definition. Code is as shown under:
Code: |
TESTIN DFHMDF POS=(10,1),LENGTH=80, X
ATTRB=(UNPROT,BRT),OCCURS=10 |
the issue is that when the TRANS populates the this screen the output is like:
Code: |
************************
************************
************************ |
instead of
Code: |
*****************************
*****************************
***************************** |
I tested it by varying the LENGTH to 79 but in vain.
Please suggest me where could I have gone wrong. |
|
Back to top |
|
|
Vishu
New User
Joined: 23 Mar 2009 Posts: 22 Location: Bangalore
|
|
|
|
Hi ,
I have figured it out.
I made a silly mistake of keeping the length =80 .One can only keep it at max of 79 if the length of screen is 80.
Also I reduced the WS-variable length to 79. Hence making the mapping appropriate. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
thx for getting back and letting us know the solution. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Each field has its own attribute character, that is why field length should be 79 instead of 80.
The attribute character comes to the left of the field.
In your example, the expected result should look like:
Code: |
*****************************
*****************************
***************************** |
Not:
Code: |
*****************************
*****************************
***************************** |
|
|
Back to top |
|
|
|