Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Problem with case sensitivity

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: compare CH - no case sensitive
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jul 09, 2010 2:43 pm    Post subject:
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 Moderator


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

PostPosted: Fri Jul 09, 2010 8:30 pm    Post subject:
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 Moderator


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

PostPosted: Fri Jul 09, 2010 8:34 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Summing on Mixed Case Literals Roy Ware SYNCSORT 3 Tue Jan 03, 2017 10:18 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us