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

user abend while executing a sort card


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

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Fri Apr 20, 2007 1:01 pm
Reply with quote

hi,

below is the code i am trying to execute using sort. i've put the sortcard and the message in the sortout below. i'm getting user abend. Please let me know what is the reason for abend and by the way if anyone could tell me what M12 stands for? i just know that it's being used here to display a comp-5 variable.

Code:
 SORT FIELDS=COPY                                                 
 OUTREC FIELDS=(1:11,10,11:C',',                                   
                12:21,10,22:C',',                                 
                23:52,1,24:C',',                                   
                25:53,5,PD,35:C',',                               
                1275,8,BI,M12,C',',                               
                1285,8,BI,M12,C',',                               
                1295,8,BI,M12,C',',                               
                1305,8,BI,M12,C',',                               
                1315,8,BI,M12,C',',                               
                1325,8,BI,M12),CONVERT

WER108I SORTIN : RECFM=VB ; LRECL= 20503; BLKSIZE= 27998
WER237I OUTREC RECORD LENGTH = 202
WER110I SORTOUT : RECFM=FB ; LRECL= 202; BLKSIZE= 27876
WER244A OUTREC - SHORT RECORD
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE

thanks,
Bala
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Apr 20, 2007 1:13 pm
Reply with quote

Quote:
WER244A OUTREC - SHORT RECORD

What did the messages and codes section of the manual say about the above message.
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 20, 2007 2:05 pm
Reply with quote

kbmkris wrote:
i'm getting user abend. Please let me know what is the reason for abend and by the way if anyone could tell me what M12 stands for?
What abend?
M12 is just a pre-specified edit mask.
Have you checked the manual?
Back to top
View user's profile Send private message
kbmkris

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Fri Apr 20, 2007 2:59 pm
Reply with quote

hi,

i don't have manual. if you have can you please give the link for that.
Since i don't have the manual. i am not able to identify the same. But i'm able to complete the job. The problem is one of the record in the Sortin is not belonged to that file. i deleted and ran the job. it completes fine.
What are pre-specified edit mask's available? could you please let me know any material about that? Thanks for your replies:-)

Thanks,
Bala
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Apr 20, 2007 3:07 pm
Reply with quote

Dare I ask why your shop is using a product and has no manuals available.

Unfortunately I do not use SYNCSORT, so have no access to the manuals myself.

I suppose you could try google.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Apr 20, 2007 3:24 pm
Reply with quote

Hi Bala,


U are getting error because of short rec i think it is not related to M12.Please use PARM='VLTESTI=1' like below.
Code:


//STEP001  EXEC PGM=SORT,PARM='VLTESTI=1'


Let us know the result
Back to top
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Fri Apr 20, 2007 5:33 pm
Reply with quote

hey,

Quote:
WER108I SORTIN : RECFM=VB ; LRECL= 20503; BLKSIZE= 27998


Ur's is a VB file.

So as Ekta said, u have to use "VLTESTI" when u r doing a sort on a file with Variable record length.
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 Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
Search our Forums:

Back to Top