At 09:47 AM 9/24/98 -0700, Abraham Zwygart wrote:
>Hi all,
>
>I am having problems with building ksamxl files. When I enter in the
>following command.
>
>BUILD BIF01;REC=-266,,F,ASCII;DISC;=2000;KSAMXL;FIRSTREC=1; &
> REUSE;KEY=(B,3,10;B,23,5,DUP;B,18,5,DUP;B,257,10)
>
>Then I do a listfile -5 on the file I get the following resualts:
>
>KEY KEY TYPE KEY LOCATION KEY SIZE DUP/RDUP
>--- -------- ------------ --------
> --------
> 1 BYTE 3 10
>NONE
> 2 BYTE 23 5
>RDUP
> 3 BYTE 18 5
>RDUP
> 4 BYTE 257 10
>NONE
>
>NUM KSAM KEYS: 4 FIRST KSAM RECORD: 1
>LANGUAGE : ENGLISH REUSE RECORD : YES
>PRIMARY KEY : RANDOM COMPUTE BLK SIZE : DEFBLK
>VERSION : 2 DATA BLOCK SIZE
>: 4096
>
>The RDUP causes a RPG program error. It wants it to be DUP. I am on a
>HP3000 939 with os vers 5.5 pp4. This is a new error sents upgrading from
>5.0 pp5.
I'm not sure if this is right or not, but in your command, have you
tried indicating DUP for all the keys:
>BUILD BIF01;REC=-266,,F,ASCII;DISC;=2000;KSAMXL;FIRSTREC=1; &
> REUSE;KEY=(B,3,10;B,23,5,DUP;B,18,5,DUP;B,257,10)
^ ^
|- Insert ",DUP" ------------|
/jf
_\\///_
(' o-o ')
___________________________ooOo_( )_OOoo____________________________________
Thursday, September 24th
Today in 1957 - President Eisenhower called in troops to
enforce desegregation at Little Rock, Arkansas.
___________________________________Oooo_____________________________________
oooO ( )
( ) ) /
\ ( (_/
\_)
|