Getting error by using OUTREC OVERLAY



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

Getting error by using OUTREC OVERLAY

Postby porwalrox » Tue Jul 02, 2013 5:15 pm

//STEP033  EXEC PGM=SORT                                   
//SYSOUT   DD SYSOUT=*                                     
//SORTIN   DD DSN=F6976SG1.ABCD.SCH1,DISP=SHR           
//SORTOUT  DD DSN=F6976SG1.ABCD.ALFA1.BKP2,DISP=SHR   
//SYSIN    DD *                                           
 SORT FIELDS=COPY,STOPAFT=1                               
 OUTREC OVERLAY=(1,4,131:86,19)                           
/*                                                         


Sortin and sortout both are vsam files. I have copied only one record from a vsam file to SORTOUT file.

I have to copy field from Sortin to sortout on the the desired position.

JESMSGLG:
IEF450I F6976ABT STEP033 - ABEND=S000 U0016 REASON=00000000  193               
        TIME=07.20.00                                                         
-F6976ABT          STEP033  U0016    136    .00    .00    .00   2484   0      0
IEF404I F6976ABT - ENDED - TIME=07.20.00                                       
porwalrox
 
Posts: 38
Joined: Fri Oct 05, 2012 4:05 pm
Has thanked: 2 times
Been thanked: 0 time

Re: Getting error by using OUTREC OVERLAY

Postby porwalrox » Tue Jul 02, 2013 5:23 pm

Instead of OUTREC OVERLAY, OUTREC BUILD is working fine. but it is appending one more record to the sortout file.

I need only one record and have to overlay that record from Sortin file.
porwalrox
 
Posts: 38
Joined: Fri Oct 05, 2012 4:05 pm
Has thanked: 2 times
Been thanked: 0 time

Re: Getting error by using OUTREC OVERLAY

Postby bodatrinadh » Tue Jul 02, 2013 5:25 pm

Show your sysout messages.
Thanks
-3nadh
User avatar
bodatrinadh
 
Posts: 67
Joined: Thu Jan 12, 2012 9:05 pm
Has thanked: 0 time
Been thanked: 4 times

Re: Getting error by using OUTREC OVERLAY

Postby enrico-sorichetti » Tue Jul 02, 2013 5:29 pm

You did not give too much to work on,
what about posting the <sort> sysout ( WER.../ICE... messages ) ???
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Getting error by using OUTREC OVERLAY

Postby porwalrox » Tue Jul 02, 2013 5:33 pm

WER276B  SYSDIAG= 320949, 5989121, 5989121, 6138525               
WER164B  6,896K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B     0 BYTES RESERVE REQUESTED, 1,004K BYTES USED         
WER146B  20K BYTES OF EMERGENCY SPACE ALLOCATED                   
WER108I  SORTIN   : RECFM=V    ; LRECL=  1201; CISIZE = 12288     
WER073I  SORTIN   : DSNAME=F6976SG1.R3PROD.SCHED                 
WER237I  OUTREC RECORD LENGTH =  1205                             
WER110I  SORTOUT  : RECFM=V    ; LRECL=   145; CISIZE =  4096     
WER074I  SORTOUT  : DSNAME=F6976SG1.R3PROD.ALFAKEY.BKP2           
WER247A  SORTOUT  HAS INCOMPATIBLE LRECL                         
WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000                     
porwalrox
 
Posts: 38
Joined: Fri Oct 05, 2012 4:05 pm
Has thanked: 2 times
Been thanked: 0 time

Re: Getting error by using OUTREC OVERLAY

Postby porwalrox » Tue Jul 02, 2013 5:34 pm

I have changed filename while posting.

F6976SG1.ABCD.SCH1 and F6976SG1.ABCD.ALFA1.BKP2
porwalrox
 
Posts: 38
Joined: Fri Oct 05, 2012 4:05 pm
Has thanked: 2 times
Been thanked: 0 time

Re: Getting error by using OUTREC OVERLAY

Postby porwalrox » Tue Jul 02, 2013 5:38 pm

Hi enrico,

Complete Sysout message is:

SYNCSORT FOR Z/OS  1.4.0.1N    U.S. PATENTS: 4210961, 5117495   (C) 2010 SYNCS
                           100312: SYNCSORT Z/OS 1.4.01 ZY Z/OS  +SY70621   z/
SYNCSORT LICENSED FOR CPU SERIAL NUMBER 25A86, MODEL 2817 709             LICE
SYSIN :                                                                       
 SORT FIELDS=COPY,STOPAFT=1                                                   
 OUTREC OVERLAY=(131:86,19)                                                   
WER276B  SYSDIAG= 320949, 5989121, 5989121, 6138525                           
WER164B  6,896K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,           
WER164B     0 BYTES RESERVE REQUESTED, 1,004K BYTES USED                     
WER146B  20K BYTES OF EMERGENCY SPACE ALLOCATED                               
WER108I  SORTIN   : RECFM=V    ; LRECL=  1201; CISIZE = 12288                 
WER073I  SORTIN   : DSNAME=F6976SG1.R3PROD.SCHED                             
WER237I  OUTREC RECORD LENGTH =  1205                                         
WER110I  SORTOUT  : RECFM=V    ; LRECL=   145; CISIZE =  4096                 
WER074I  SORTOUT  : DSNAME=F6976SG1.R3PROD.ALFAKEY.BKP2                       
WER247A  SORTOUT  HAS INCOMPATIBLE LRECL                                     
WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000                                 
WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE                                 
porwalrox
 
Posts: 38
Joined: Fri Oct 05, 2012 4:05 pm
Has thanked: 2 times
Been thanked: 0 time

Re: Getting error by using OUTREC OVERLAY

Postby bodatrinadh » Tue Jul 02, 2013 5:55 pm

FYI...You are using SYNCSORT...not DFSORT.
Your job abends because, your SORTOUT dataset has recl = 145 and your trying to add field which exceeds the original length.
Thanks
-3nadh
User avatar
bodatrinadh
 
Posts: 67
Joined: Thu Jan 12, 2012 9:05 pm
Has thanked: 0 time
Been thanked: 4 times

Re: Getting error by using OUTREC OVERLAY

Postby porwalrox » Tue Jul 02, 2013 6:13 pm

Hi Badinath,

You are correct record length is different in Sortin and Sortout. but i need to take some field from sortin file and have to update the sortout file.

Is it possible? I am asking because OUTREC BUILD is working fine but OVERLAY isn't.
porwalrox
 
Posts: 38
Joined: Fri Oct 05, 2012 4:05 pm
Has thanked: 2 times
Been thanked: 0 time

Re: Getting error by using OUTREC OVERLAY

Postby Robert Sample » Tue Jul 02, 2013 6:24 pm

You might want to start by thinking about what these messages in your output mean:
WER108I  SORTIN   : RECFM=V    ; LRECL=  1201; CISIZE = 12288                 
WER073I  SORTIN   : DSNAME=F6976SG1.R3PROD.SCHED                             
WER237I  OUTREC RECORD LENGTH =  1205                                         
WER110I  SORTOUT  : RECFM=V    ; LRECL=   145; CISIZE =  4096                 
WER074I  SORTOUT  : DSNAME=F6976SG1.R3PROD.ALFAKEY.BKP2                       
WER247A  SORTOUT  HAS INCOMPATIBLE LRECL
especially the WER237I and WER110I messages.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Next

Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post