× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

you can just use + or - sign to continue to the next line...

A R FILERECR PFILE(PHYSICALF)
A K KEY1
A K KEY2
A S ERRMSG VALUES('This is just an example of
w-
A hat I mean')


kr

Paul




From: Alan Shore <ashore@xxxxxxxx>
To: "midrange-l@xxxxxxxxxxxx" <midrange-l@xxxxxxxxxxxx>
Date: 10/04/2017 15:07
Subject: Selecting certain records in a logical file
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Hi everyone
Before I forget - we are on V7r1

I have not come across this before, and my searches do not come up with a
solution, so I am hoping someone knows about this situation, or can point
me in the right direction
We have a file, that contains multiple records, and on the record is an
error message of 50 characters
There can be MANY different values in this error message, but in one
instance, I only want to process records that have one particular error
message
How can I create a logical over the physical with a select, using, for
example VALUES, if the value needs to be defined over more than 1 record
For example
A R FILERECR PFILE(PHYSICALF)
A K KEY1
A K KEY2
A S ERRMSG VALUES('This is just an example of
w
A 'hat
I mean')

Is this even possible to continue into the next line?

As always - any and all responses gratefully accepted
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.