IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Problem with case sensitivity


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
postal

New User


Joined: 24 May 2006
Posts: 1

PostPosted: Fri Jul 09, 2010 2:26 pm
Reply with quote

Hi,
i've a similar problem.

My source is:
Abcdef
aBcdef
Bvsdjh

and my include condition is:
INCLUDE=(1,1004,SS,EQ,C'ABCDEF')

I need to intercept the first and second records but the output should not change:

Abcdef
aBcdef

If i use the "ALTSEQ CODE" or "TRAN=LTOU" commands, my output is:

ABCDEF
ABCDEF

Thanks in advance.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jul 09, 2010 2:43 pm
Reply with quote

Please do not append your problem onto the end of an existing thread. Start a new thread.

You have not provided enough information for receiving much help, so maybe the following will help you. As the solution for sort related questions may vary from product to product, please ensure that you state clearly which sort product you are using.

If you are not sure, then by running a simple sort step shown below, you will be able to find out for yourself.

If the messages start with ICE then your product is DFSORT. Please also post the output of the complete line which has a message code ICE201I, as this will enable our DFSORT experts to determine which release of DFSORT that you have installed. This may also affect the solution offered.

If the messages start with WER or SYT then the product is SYNCSORT and the topic will be moved into the JCL forum by one of the moderators. Please also post the information telling which version of SYNCSORT is installed, as this may also affect the solution offered.

Code:
//SORTSTEP EXEC PGM=SORT
//SYSOUT   DD SYSOUT=*
//SORTIN   DD *
ABC
//SORTOUT  DD SYSOUT=*
//SYSIN    DD *
  SORT     FIELDS=COPY


You also need to provide more detail than you already have.
What is the DSORG, RECFM and LRECL of the input file.
Please show all of the control statements that you have used but have failed to give the required result.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jul 09, 2010 8:30 pm
Reply with quote

Quote:
Please do not append your problem onto the end of an existing thread. Start a new thread.


Expat,

If you're going to split threads, please put the URL of the old thread into the new thread. The old thread might have had information that would help.

Also, I would prefer that you NOT post that boilerplate about product being used, etc in this Forum. I prefer to ask for the specific formation needed to solve the problem rather than such general information which may or may not be needed.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jul 09, 2010 8:34 pm
Reply with quote

postal,

The way to handle case insensitivity is to use INREC to make a copy of the bytes you want to check at the end of the record and change them all to uppercase with LTOU. Then do OUTFIL INCLUDE with all uppercase and OUTFIL BUILD to remove the bytes you added.

Tell me the RECFM and LRECL of your input file and I'll show you how to do this.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Zunit Test case editor error Testing & Performance 4
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
Search our Forums:

Back to Top