|
Prev: Fujitsu adtools.com
Next: Fujitsu 4.0 reborn?
From: jferreira80 on 24 Jul 2006 09:50 Hi...just a hand-pocket question...... :) i have a variable 01 ws-con-variable1 PIC 9(13)V9(02) COMP-3. and i need to fill all the fields with value 9 . I don't know why but if i defines de variable as 01 ws-con-variable1 PIC 9(13)V9(02) COMP-3 VALUE ALL 9. it doesn't work... any clue ? Cheers
From: Michael Mattias on 24 Jul 2006 10:15 <jferreira80(a)gmail.com> wrote in message news:1153749015.404152.23700(a)m79g2000cwm.googlegroups.com... > Hi...just a hand-pocket question...... :) > > i have a variable > > 01 ws-con-variable1 PIC 9(13)V9(02) COMP-3. > > and i need to fill all the fields with value 9 . > > I don't know why but if i defines de variable as > > 01 ws-con-variable1 PIC 9(13)V9(02) COMP-3 VALUE ALL 9. > > it doesn't work... > > any clue ? VALUE "ALL <anything>" is (was?) only allowed for character (PIC X(n) or A(n)) data items.
From: HeyBub on 24 Jul 2006 10:23 jferreira80(a)gmail.com wrote: > Hi...just a hand-pocket question...... :) > > i have a variable > > 01 ws-con-variable1 PIC 9(13)V9(02) COMP-3. > > and i need to fill all the fields with value 9 . > > I don't know why but if i defines de variable as > > 01 ws-con-variable1 PIC 9(13)V9(02) COMP-3 VALUE ALL 9. > > it doesn't work... "ALL" works only on alphanumeric fields. You need: PIC 9(13)V9(02) VALUE 9999999999999.99.
From: jferreira80 on 24 Jul 2006 10:34 HeyBub escreveu: > jferreira80(a)gmail.com wrote: > > Hi...just a hand-pocket question...... :) > > > > i have a variable > > > > 01 ws-con-variable1 PIC 9(13)V9(02) COMP-3. > > > > and i need to fill all the fields with value 9 . > > > > I don't know why but if i defines de variable as > > > > 01 ws-con-variable1 PIC 9(13)V9(02) COMP-3 VALUE ALL 9. > > > > it doesn't work... > > "ALL" works only on alphanumeric fields. You need: > > PIC 9(13)V9(02) VALUE 9999999999999.99. Ok..... but if your variable as 99 fields, like 01 ws-con-variable1 PIC 9(99)v9(02) COMP-3. you don't define the value as 999.......999 any clues for this problem?? cheers
From: Donald Tees on 24 Jul 2006 10:37
jferreira80(a)gmail.com wrote: > HeyBub escreveu: > > Ok..... > > but if your variable as 99 fields, like > > 01 ws-con-variable1 PIC 9(99)v9(02) COMP-3. > > you don't define the value as 999.......999 > > > any clues for this problem?? > > > cheers > There are no such fields, by definition. Donald |