i am using non join multiple format my 3 database file is like that pf97
R REC
ENAME
ETENNO
ESTATUS
K ENAME

pf98
R REC1
ENAME
ESAL
K ENAME

PF99
R REC3
ENAME
CRDCARD
EID
K EID

& MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES
BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.



i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ..

Answer / Manju

In IBM AS400, when you are using non-join multiple formats for your database files, the key field attributes must be consistent across all files. If you encounter an error while adding more files, it could indicate inconsistencies in the key fields. Ensure that all key fields have the same length, data type, and alphanumeric value. It's also important to adhere to the Physical File (PF) specifications for your key fields. If needed, consult the AS400 documentation or seek assistance from an experienced AS400 developer.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

how do you read changed records backward in subfile?

1 Answers   IBM,


What is the maximum number of times Multiple Occurrences DS can occur in a program?

1 Answers  


What is the symbol used for copying & moving new field in SDA?

1 Answers  


what is default data type for the fields(sub fields) defined in data structures in rpg?

2 Answers   IBM,


Is LDA can be access accross the Job?

9 Answers  


What is the exact difference between Service Program and Binding Directory?

1 Answers  


different type of cursor?

1 Answers   IBM,


when is a tag statement used in rpg?

3 Answers   IBM,


which single rpg opcode performs both setll and reade?

2 Answers   IBM,


How many record formats can you have in a Physical file and in a Logical file ?

1 Answers  


what is pointer error in rpg IV?

4 Answers   CTS,


How to see all members of a file?

1 Answers  


Categories