View previous topic :: View next topic
|
Author |
Message |
PIYUSH.MAHESHWARI Warnings : 1 New User
Joined: 03 Dec 2008 Posts: 3 Location: MUMBAI
|
|
|
|
Hi,
When I uploaded a text file Tabs are inserted in the input files because of file transfer.
My Input file after uploading is :
Code: |
002 ABCDEF
0003 GHIJKL
00004 MNOPQ |
While my desired input file is:
Code: |
002 ABCDEF
0003 GHIJKL
00004 MNOPQ |
I am using following SORT control card
Code: |
//SORT.SYSIN DD *
OUTREC IFTHEN=(WHEN=(3,1,CH,EQ,X'05'),
FINDREP=(IN=C'05',OUT=X'4040'))
/* |
but getting syntax error
Code: |
SYSIN :
INREC IFTHEN=(WHEN=(3,1,CH,EQ,X'05'),
FINDREP=(IN=X'05',OUT=X'4040'))
*
WER268A INREC STATEMENT : SYNTAX ERROR |
Please suggest.
Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj |
|
Back to top |
|
|
PIYUSH.MAHESHWARI Warnings : 1 New User
Joined: 03 Dec 2008 Posts: 3 Location: MUMBAI
|
|
|
|
Sorry by mistake desired and actual file I posted above looking same.
In the desired input file the second field should start at 7 position |
|
Back to top |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
PIYUSH.MAHESHWARI wrote: |
INREC IFTHEN=(WHEN=(3,1,CH,EQ,X'05'),
FINDREP=(IN=X'05',OUT=X'4040'))
*
WER268A INREC STATEMENT : SYNTAX ERROR |
Support for FINDREP was included in SyncSort for z/OS 1.3.2. Based on the message, I can only assume that you are running an earlier release of the product. If you are a licensed SyncSort for z/OS customer and are interested in upgrading to the current release, please contact me offline or contact SyncSort Mainframe Product Services directly. This is a free upgrade. |
|
Back to top |
|
|
PIYUSH.MAHESHWARI Warnings : 1 New User
Joined: 03 Dec 2008 Posts: 3 Location: MUMBAI
|
|
|
|
THANKS ALYSSA. |
|
Back to top |
|
|
|