View previous topic :: View next topic
|
Author |
Message |
raam_kumar
New User
Joined: 25 Apr 2007 Posts: 44 Location: chennai, India
|
|
|
|
Hi
I was trying to left justify the contents of a PS file using SYNCTOOL. I have used the following control card which is mentioned below.
Code: |
SORT FROM(OUTPUT) TO(OUT) USING(SPUB)
//SPUBCNTL DD *
SORT FIELDS=(11,3,CH,A)
OUTREC OVERLAY(1,134,135:135,15,JFY,(SHIFT=LEFT))
/*
|
My objective is:-
I need to copy positions 1-134 from input to output file as it is and
from position 135-150 i have to left justify and write it into output file.
while trying the above sort card in SYNCTOOL i am getting abend. the abend reason is as follows.
SPUBCNTL :
Code: |
SORT FIELDS=(11,3,CH,A)
OUTREC OVERLAY(1,134,135:135,15,JFY,(SHIFT=LEFT))
*
WER428I CALLER-PROVIDED IDENTIFIER IS "0002"
WER268A OUTREC STATEMENT : SYNTAX ERROR |
Can anyone help me in solving my problem |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Quote: |
OUTREC OVERLAY(1,134,135:135,15,JFY,(SHIFT=LEFT)) |
Where is the '=' in outrec statement? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
I guess Syncsort does not have a JFY parameter..... |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
The JFY function available with DFSORT is not available with Syncsort. |
|
Back to top |
|
|
raam_kumar
New User
Joined: 25 Apr 2007 Posts: 44 Location: chennai, India
|
|
|
|
Hi
I was using ICETOOL, to execute the above operation and not SYNCTOOL. could you please let me know if ICETOOL and SYNCTOOL are same? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
The two products are from different vendors, so NO, they are not the same. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Raam,
The WER messages indicates your site is using Syncsort so PGM=ICETOOL invokes Syncsort's SYNCTOOL (Syncsort ships ICETOOL as an alias for SYNCTOOL).
If you were using DFSORT, you'd get ICE messages and PGM=ICETOOL would invoke DFSORT's ICETOOL. |
|
Back to top |
|
|
raam_kumar
New User
Joined: 25 Apr 2007 Posts: 44 Location: chennai, India
|
|
|
|
Thanks a lot Frank |
|
Back to top |
|
|
|