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
 

 

Need help in Syncsort to resolve an abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Need help in Syncsort to resolve an abend
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    Post subject:
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    Post subject: Reply to: Need help in Syncsort
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    Post subject: Reply to: Need help in Syncsort
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Thu Oct 16, 2008 10:19 pm    Post subject:
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    Post subject:
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 Moderator


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

PostPosted: Thu Oct 16, 2008 11:13 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Oct 17, 2008 12:12 am    Post subject: Re: Need help in Syncsort
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    Post subject:
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    Post subject: Reply to: Need help in Syncsort
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

Senior Member


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

PostPosted: Fri Oct 17, 2008 2:12 am    Post subject: Re: Reply to: Need help in Syncsort
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    Post subject: Reply to: Need help in Syncsort
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: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 17, 2008 12:38 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Oct 17, 2008 12:43 pm    Post subject:
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    Post subject: Reply to: Need help in Syncsort
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    Post subject: Re: Reply to: Need help in Syncsort
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 Moderator


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

PostPosted: Fri Oct 17, 2008 11:42 pm    Post subject:
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

Senior Member


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

PostPosted: Sat Oct 18, 2008 12:11 am    Post subject:
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    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 syncsort: copy lines after the keyword shreya19 SYNCSORT 1 Fri Dec 02, 2016 9:47 am
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am


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