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 Profile Log in to check your private messages Log in
 
user abend while executing a sort card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: user abend while executing a sort card
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: 8593
Location: Back in jolly old England

PostPosted: Fri Apr 20, 2007 1:13 pm    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Fri Apr 20, 2007 2:05 pm    Post subject: Re: user abend while executing a sort card
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Apr 20, 2007 3:07 pm    Post subject:
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: 1187
Location: Bangalore,India

PostPosted: Fri Apr 20, 2007 3:24 pm    Post subject:
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    Post subject:
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    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 OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am

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