WER244A - OUTREC - SHORT RECORD with VB file



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

WER244A - OUTREC - SHORT RECORD with VB file

Postby physicalgrafitti75 » Thu Jun 17, 2010 12:33 am

I am trying to sort a file, remove duplicates and replace columns 35-57 with spaces. I need to keep all the other fields on the file. The length is 27994. The file is VB. I am getting a "WER244A - SHORT RECORD" message although the LRECL from both the input and output records are the same. My sortcard is:

//SYSIN    DD *
  SORT FIELDS=(5,28,CH,A,35,22,CH,A)
  SUM FIELDS=NONE
  OUTREC BUILD=(1,34,35,22,C'                     ',57,27917)
/*


I have tried to change the 27917 number as I thought I must calculated it incorrectly, but this is the only number that does not give me a message about the output file being too short. The diagnostic messages are as follows:

WER276B SYSDIAG= 196295, 2605396, 2605396, 2997450
WER164B 36,868K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 156K BYTES RESERVE REQUESTED, 36,840K BYTES USED
WER146B 24K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SORTIN : RECFM=VB ; LRECL= 27994; BLKSIZE= 27998
WER237I OUTREC RECORD LENGTH = 27994
WER110I SORTOUT : RECFM=VB ; LRECL= 27994; BLKSIZE= 27998
WER410B 35M BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
WER410B 0 BYTES RESERVE REQUESTED, 35M BYTES USED
WER036B G=771,B=56656
WER162B 750 PREALLOCATED SORTWORK TRACKS, 0 DYNAMICALLY ALLOCATED,
WER162B 0 ACQUIRED IN SECONDARY EXTENTS, 0 RELEASED, TOTAL OF 3 TRACKS USED
WER124I ESTIMATED PREALLOCATED/USED SORTWORK SPACE USAGE FACTOR > 999.99
WER045C END SORT PHASE
WER055I INSERT 0, DELETE 0
WER244A OUTREC - SHORT RECORD
WER418I DATASPACE(S) AND/OR HIPERSPACE(S) USED
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000

I have been searching this site for a while to find a similar issue but have not been successful

Any help would be greatly appreciated.
physicalgrafitti75
 
Posts: 2
Joined: Thu Jun 17, 2010 12:09 am
Has thanked: 0 time
Been thanked: 0 time

Re: WER244A - OUTREC - SHORT RECORD with VB file

Postby Alissa Margulies » Thu Jun 17, 2010 12:38 am

Hello physicalgrafitti75,

Try this modified JCL:
//SYSIN    DD *
  SORT FIELDS=(5,28,CH,A,35,22,CH,A)
  SUM FIELDS=NONE
  OUTREC OVERLAY=(35:23X)
/*
Alissa Margulies
Syncsort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Alissa Margulies
Global moderator
 
Posts: 369
Joined: Tue Feb 26, 2008 11:15 pm
Location: USA
Has thanked: 1 time
Been thanked: 3 times

Re: WER244A - OUTREC - SHORT RECORD with VB file

Postby physicalgrafitti75 » Thu Jun 17, 2010 1:05 am

Alissa - you should be commended for your accuracy AND quick reply.

Worked like a charm. Can you explain the OUTREC OVERLAY statement??
physicalgrafitti75
 
Posts: 2
Joined: Thu Jun 17, 2010 12:09 am
Has thanked: 0 time
Been thanked: 0 time

Re: WER244A - OUTREC - SHORT RECORD with VB file

Postby Alissa Margulies » Thu Jun 17, 2010 1:29 am

physicalgrafitti75,

The OVERLAY parameter enables you to change particular columns and add fields to the end of a record without rebuilding the entire record. When using the OVERLAY parameter you only need to specify the columns you want to change. The rest of the input record remains unchanged.

In the OVERLAY statement in my previous post, beginning in position 35, you are replacing the existing data with 23 blanks.

Hope this helps. Please let us know if you have any further questions and we will try to assist you.

Regards,
Alissa Margulies
Syncsort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Alissa Margulies
Global moderator
 
Posts: 369
Joined: Tue Feb 26, 2008 11:15 pm
Location: USA
Has thanked: 1 time
Been thanked: 3 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post