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

Need help in Syncsort to resolve an abend


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

New User


Joined: 30 Sep 2008
Posts: 9
Location: Chennai

PostPosted: Thu Oct 16, 2008 4:46 pm
Reply with quote

Currently i am using fileaid to copy one dataset to other dataset depending on the control card. But, during copying if any condition does not matches, my job is abending.
Now, i want to change the fileaid to syncsort to resolve my abend. or is there any better method to avoid the abend.
can anyone send me the complete step.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Thu Oct 16, 2008 5:11 pm
Reply with quote

yes... in this example the step would return a r.c. 4 if no records are selected.

Code:

//ICEMAN   EXEC PGM=ICEMAN,PARM='NULLOUT=RC4'
//SYSOUT    DD SYSOUT=*                     
//SORTIN    DD *                             
AAAAAAAAAAAAAAAAAA                           
BBBBBBBBBBBBBBBBBBB                         
CCCCCCCCCCCCCCCCCCCCCC                       
CCESTACCCCCCCCCCCCCCCC                       
DDDDDDDDDDDDDDDDDDDDDDDD                     
/*                                           
//SORTOUT   DD SYSOUT=*                     
//SYSIN     DD *                             
  OPTION  COPY                               
  INCLUDE COND=(1,80,SS,EQ,C'XYZ')           


hth
Back to top
View user's profile Send private message
amitchadha30

New User


Joined: 30 Sep 2008
Posts: 9
Location: Chennai

PostPosted: Thu Oct 16, 2008 7:53 pm
Reply with quote

Thanks a lot for your reply.
Should i delete fileaid step, can you tell me one more thing, where should i write those two datasets for copy.
Back to top
View user's profile Send private message
amitchadha30

New User


Joined: 30 Sep 2008
Posts: 9
Location: Chennai

PostPosted: Thu Oct 16, 2008 8:22 pm
Reply with quote

Hi,

I cannot use ICETOOL in my job due to some restrictions. Can you tell me some other way(using syncsort)
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Thu Oct 16, 2008 9:28 pm
Reply with quote

that's Syncsort!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Thu Oct 16, 2008 10:19 pm
Reply with quote

Hello,

Quote:
I cannot use ICETOOL in my job due to some restrictions.
Suggest you run a very small experiment on your system executing ICETOOL. Then look at the informational messages created by the run.

Surprise. . . icon_idea.gif
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Thu Oct 16, 2008 10:33 pm
Reply with quote

acevedo,

Quote:
that's Syncsort!

How is that Syncsort ? ICEMAN invokes DFSORT. I think amitchadha30
is right, there are shops which want to move away from DFSORT and adopt Syncsort, hence they dont allow ICETOOLs to be moved to production.

Any corrections ?
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: Thu Oct 16, 2008 11:13 pm
Reply with quote

Quote:
How is that Syncsort ? ICEMAN invokes DFSORT.


PGM=ICEMAN and PGM=SORT invoke the sort product installed at your site. That could be DFSORT, Syncsort or CA-Sort. You can tell which product you're using by looking at the messages - ICExxxs for DFSORT, WERxxxs for Syncsort, CASxxxs for CA-Sort.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Fri Oct 17, 2008 12:12 am
Reply with quote

amitchadha30 wrote:
Now, i want to change the fileaid to syncsort to resolve my abend.
Agreed with everything posted so far, but anyhow I've a feeling if you can post Your FileAid Step with what is input & expected output, with what you want to avoid.. I would be rather able to connect myself with this topic.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Fri Oct 17, 2008 1:18 am
Reply with quote

ap_mainframes wrote:
acevedo,

Quote:
that's Syncsort!

How is that Syncsort ? ICEMAN invokes DFSORT. I think amitchadha30
is right, there are shops which want to move away from DFSORT and adopt Syncsort, hence they dont allow ICETOOLs to be moved to production.

Any corrections ?


yes, as Frank stated, ICEMAN can invoke DFSort, SyncSort, CA-Sort...

Here in my shop ICEMAN invokes SyncSort.
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Fri Oct 17, 2008 1:43 am
Reply with quote

Thanks to all, I thought that I will always invoke DFSORT , as it does the same for me !
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Fri Oct 17, 2008 2:12 am
Reply with quote

ap_mainframes wrote:
.. I will always invoke DFSORT , as it does the same for me !
That means your site is installed with DFSORT.
Back to top
View user's profile Send private message
amitchadha30

New User


Joined: 30 Sep 2008
Posts: 9
Location: Chennai

PostPosted: Fri Oct 17, 2008 12:25 pm
Reply with quote

Hi,

When i am including above icetool step, After compiling it is giving following error.

1) NO SORT OR MERGE CONTROL STATEMENT WAS FOUND
2) UNRECOGNIZED 'SORT' KEYWORD 'COPY'.
3) UNIDENTIFIED CHARACTER '=' WAS FOUND IN THE 'COND' FIELD
4) UNRECOGNIZED 'SORT' KEYWORD 'COND'.

plz help and rectfy.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Oct 17, 2008 12:38 pm
Reply with quote

amitchadha30

How many threads have you read on this forum where the first response from those trying to help you is

Post the output showing the error messages and codes

Please do so.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Fri Oct 17, 2008 12:43 pm
Reply with quote

Hello,

First, Code shown make use of ICEMAN & not of ICETOOL. And what do you mean by "compiling"..? You check JCL for syntax errors (JEM/JSCAN/JCLCheck).. icon_confused.gif What action did you perform when you get the above said errors.
Back to top
View user's profile Send private message
amitchadha30

New User


Joined: 30 Sep 2008
Posts: 9
Location: Chennai

PostPosted: Fri Oct 17, 2008 4:21 pm
Reply with quote

Thanks to all.
That issue has been resolved. I used Syncsort coz of some license issue problem with iceman.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Fri Oct 17, 2008 4:24 pm
Reply with quote

amitchadha30 wrote:

I used Syncsort coz of some license issue problem with iceman.


guess you ment:

I used Syncsort BECAUSE of some license issue problem with DFSort.
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: Fri Oct 17, 2008 11:42 pm
Reply with quote

Quote:
I used Syncsort BECAUSE of some license issue problem with DFSorT


Or more correctly:

I used Syncsort because that's the sort product my site has a license for.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Sat Oct 18, 2008 12:11 am
Reply with quote

Quote:
That issue has been resolved.
Iit was a neat shot, I didnt' even get any clue what happened at your end..Well Done..!
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 ABEND 0717 during starting IMS IMS DB/DC 0
No new posts Syncsort help SYNCSORT 3
No new posts SYNCSORT-DB2 interface SYNCSORT 0
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
No new posts What is the most complex abend you've... Mainframe Interview Questions 8
Search our Forums:

Back to Top