>>I want to do a compare but only show the field as being "not equal" if the newly added characters are not spaces. But I do want to show them as being not equal if the newly added characters are other than spaces.
Frank, Your question is a bit confusing. Do you have 2 files or just 1 file? If it is just 1 file, what is there to compare? or did you mean to validate the new field of spaces? The first part says that you need to tag the records as "not equal" if the new field is not space. But then the second part is the opposite of it where you do want to show them as not equal if the new character is other than spaces. Do you want to split the records into 2 different files based on what you have in the new field? Elardus Engelbrecht has already shown you a way to do with DFSORT and just for the record, File-manager invokes DFSORT when writing to multiple files with conditions. :) Thanks, Kolusu DFSORT Development IBM Corporation IBM Mainframe Discussion List <[email protected]> wrote on 06/29/2015 05:40:42 PM: > From: Frank Swarbrick <[email protected]> > To: [email protected] > Date: 06/29/2015 05:40 PM > Subject: FILEM DSM compare question > Sent by: IBM Mainframe Discussion List <[email protected]> > > I know we have some DFSORT experts here. I'm hoping we also have > some File Manager experts. > > I have a KSDS where I am adding a new field, and thus increasing the > length of each record. I want to do a compare but only show the > field as being "not equal" if the newly added characters are not > spaces. But I do want to show them as being not equal if the newly > added characters are other than spaces. > > Any thoughts? > > Thanks, > Frank > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
