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

Using justification in SYNCTOOL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raam_kumar

New User


Joined: 25 Apr 2007
Posts: 44
Location: chennai, India

PostPosted: Fri Apr 27, 2007 2:10 pm
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Apr 27, 2007 2:18 pm
Reply with quote

Quote:
OUTREC OVERLAY(1,134,135:135,15,JFY,(SHIFT=LEFT))


Where is the '=' in outrec statement?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Apr 27, 2007 3:34 pm
Reply with quote

I guess Syncsort does not have a JFY parameter.....
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: Sat Apr 28, 2007 4:55 am
Reply with quote

The JFY function available with DFSORT is not available with Syncsort.
Back to top
View user's profile Send private message
raam_kumar

New User


Joined: 25 Apr 2007
Posts: 44
Location: chennai, India

PostPosted: Wed May 02, 2007 9:47 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed May 02, 2007 12:26 pm
Reply with quote

The two products are from different vendors, so NO, they are not the same.
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: Wed May 02, 2007 8:52 pm
Reply with quote

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
View user's profile Send private message
raam_kumar

New User


Joined: 25 Apr 2007
Posts: 44
Location: chennai, India

PostPosted: Thu May 03, 2007 10:58 am
Reply with quote

Thanks a lot Frank
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
No new posts Sysncsort - Justification problem SYNCSORT 6
No new posts Justification of a field COBOL Programming 9
No new posts SYNCTOOL better than SYNCSORT? SYNCSORT 3
No new posts Can any one give me any sample join s... SYNCSORT 9
Search our Forums:

Back to Top