View previous topic :: View next topic
|
Author |
Message |
postal
New User
Joined: 24 May 2006 Posts: 1
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
|