|
View previous topic :: View next topic
|
| Author |
Message |
kbmkris
Active User

Joined: 24 Jun 2006 Posts: 101
|
|
|
|
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 |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
| Quote: |
| WER244A OUTREC - SHORT RECORD |
What did the messages and codes section of the manual say about the above message. |
|
| Back to top |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
| 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 |
|
 |
kbmkris
Active User

Joined: 24 Jun 2006 Posts: 101
|
|
|
|
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 |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
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 |
|
 |
guptae
Moderator

Joined: 14 Oct 2005 Posts: 1209 Location: Bangalore,India
|
|
|
|
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 |
|
 |
raak
Active User

Joined: 23 May 2006 Posts: 166 Location: chennai
|
|
|
|
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 |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|