can UNION ALL type construct be built into a Logical File?

Posted on 2008-10-01
Last Modified: 2008-10-02
can a UNION ALL type construct be built into a Logical File?
Question by:volking
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 45

Expert Comment

by:Kent Olsen
ID: 22618482
Hi Fred,

That should be part of the CREATE VIEW declaration

SELECT * FROM sometableorview1 WHERE condition1
SELECT * FROM sometableorview2 WHERE condition2;

LVL 27

Accepted Solution

tliotta earned 500 total points
ID: 22620428

Your questions that are specific to LFs (rather than SQL VIEWs) would be better asked in one of the AS/400 forums.

If I understand your question, what you're looking for would be called a multiple format logical. You would list the logical definitions of the various Physical Files one after the other, rather than describing only one.

There are details, of course, but that's the basics.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question