MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » January 2014

RE: how to make a key on a view?



fixed

Have you tried the substring keyword in DDS? The format is SST(field-name starting-position [length])

Here's an IBM's example

Examples
The following example shows how to specify the SST keyword on a join logical file.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A R REC1 PFILE(PFA)
A LASTNAME SST(NAME 10 10)
A K LASTNAME

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Hoteltravelfundotcom
Sent: Thursday, January 30, 2014 9:47 AM
To: Midrange Systems Technical Discussion
Subject: how to make a key on a view?

i HAVE A file that is 'txt' not PF. Can I make a logical DDS LF on that?
if not, how can I make an key index on a view?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxx> Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact