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
 

 

Using justification in SYNCTOOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Using justification in SYNCTOOL
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: 1439
Location: Bangalore,India

PostPosted: Fri Apr 27, 2007 2:18 pm    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Fri Apr 27, 2007 3:34 pm    Post subject:
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 Moderator


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

PostPosted: Sat Apr 28, 2007 4:55 am    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 02, 2007 12:26 pm    Post subject:
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 Moderator


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

PostPosted: Wed May 02, 2007 8:52 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Justification of a field spoorni COBOL Programming 9 Fri Jan 30, 2015 12:05 am
No new posts SYNCTOOL better than SYNCSORT? Amit_Singh SYNCSORT 3 Wed Jul 23, 2014 11:06 am
No new posts Can any one give me any sample join s... Sanath sekhar Reddy N SYNCSORT 9 Thu Aug 08, 2013 12:03 pm
No new posts SyncSort/SyncTooL to extract records ... Hariharan BK SYNCSORT 25 Tue Jun 04, 2013 2:42 pm
No new posts justification with edit mask? rss0213 DFSORT/ICETOOL 11 Sat Jul 28, 2012 7:33 pm


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