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 Usergroups Profile Log in to check your private messages Log in
 

 

OUTREC-error (DATASPACE(S) AND/OR HIPERSPACE(S)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
mahe1015

New User


Joined: 19 Dec 2012
Posts: 14
Location: India

PostPosted: Tue Jul 16, 2013 11:56 am    Post subject: OUTREC-error (DATASPACE(S) AND/OR HIPERSPACE(S)
Reply with quote

Hi,
Can any one help to sort the below error..
I am trying to prepare report from JCL
Code:
//SORTIN    DD DSN=TGMDR.VDRAT.INCREP1,       
//             DISP=(SHR,KEEP,KEEP)           
//SORTOUT   DD DSN=TGMDR.VDRAT.INCREP1.ACKS9, 
//             DISP=(NEW,CATLG,DELETE),       
//             MGMTCLAS=MC0032,               
//             SPACE=(185,(5,2),RLSE),         
//             RECFM=FBA,                     
//             AVGREC=K,                       
//             LRECL=185,                     
//             BLKSIZE=0                   

Code:
  OUTREC FIELDS=(1:1,17,                                           
                 20:18,26,                                         
                 48:44,1,                                         
                 61:45,3,                                         
                 72:48,2,                                         
                 90:50,50,                                         
                142:100,4,                                         
                153:104,4,                                         
                166:106,2,18X)                                     
  OUTFIL HEADER1=(/,1:'GMDRDRCA',16:'CDR INCENTIVE REPORT',       
                  52:'DATE: ',58:&DATE),                           
         HEADER2=(/,15:'CDR INCENTIVE REPORT',/,                   
                  73'-',/,1:'VEH_IDENT_NBR',20:'EVNT_PROCS_TIMSTM',
                  48:'TXN_TYPE_CD',61:'INCNTV_CD',                 
                  72:'INCNTV_OPTION_CD',90:'INCNTV_OPT_VAL',       
                 142:'REGION_CD',153:'LANGUAGE_CD',               
                 166:'IS_ONLINE_VALIDATED',/,185'-')             


Here is the spool output
Code:
                   72:'INCNTV_OPTION_CD',90:'INCNTV_OPT_VAL',             
                  142:'REGION_CD',153:'LANGUAGE_CD',                     
                  166:'IS_ONLINE_VALIDATED',/,185'-')                     
WER276B  SYSDIAG= 74092, 759025, 759025, 1250625                         
WER164B  23,428K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,       
WER164B     0 BYTES RESERVE REQUESTED, 23,332K BYTES USED                 
WER146B  12K BYTES OF EMERGENCY SPACE ALLOCATED                           
WER108I  SORTIN   : RECFM=FB   ; LRECL=   120; BLKSIZE= 27960             
WER237I  OUTREC RECORD LENGTH =   185                                     
WER110I  SORTOUT  : RECFM=FBA  ; LRECL=   185; BLKSIZE= 27935             
WER410B  22,400K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
WER410B     0 BYTES RESERVE REQUESTED, 22,376K BYTES USED                 
WER036B  G=932,B=497                                                     
WER045C  END SORT PHASE                                                   
WER116A  THE FOLLOWING H/T LINE IS GT LRECL:                             
                                                                         
WER418I  DATASPACE(S) AND/OR HIPERSPACE(S) USED                           
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Jul 16, 2013 12:07 pm    Post subject: Reply to: OUTREC-error (DATASPACE(S) AND/OR HIPERSPACE(S)
Reply with quote

Hi,

try removing the LRECL=185 parameter

Gerry
Back to top
View user's profile Send private message
mahe1015

New User


Joined: 19 Dec 2012
Posts: 14
Location: India

PostPosted: Tue Jul 16, 2013 12:12 pm    Post subject: Re: Reply to: OUTREC-error (DATASPACE(S) AND/OR HIPERSPACE(S
Reply with quote

gcicchet wrote:
Hi,

try removing the LRECL=185 parameter

Gerry


Thanks Gerry. JOb went fine..
Can please let me know why LRECL should be removed?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Jul 16, 2013 12:22 pm    Post subject:
Reply with quote

Hi,

SYNCORT will workout the correct LRECL.

If you look at your output you will see the LRECL is 186 and not 185.

The extra byte is for the print control character.


Gerry
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2158
Location: @my desk

PostPosted: Tue Jul 16, 2013 12:22 pm    Post subject:
Reply with quote

Since
Code:
WER116A  THE FOLLOWING H/T LINE IS GT LRECL:                             
                                             
Back to top
View user's profile Send private message
mahe1015

New User


Joined: 19 Dec 2012
Posts: 14
Location: India

PostPosted: Tue Jul 16, 2013 12:24 pm    Post subject:
Reply with quote

Arun Raj wrote:
Since
Code:
WER116A  THE FOLLOWING H/T LINE IS GT LRECL:                             
                                             


Thanks Gerry and Arun
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Jul 16, 2013 12:29 pm    Post subject:
Reply with quote

Hi,

you can add REMOVECC to the OUTFIL and you will not have the extra byte. ie removes the carriage control character from all the report records.


Gerry
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 S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm
No new posts SORT- outrec ram_vizag DFSORT/ICETOOL 10 Tue Sep 27, 2016 12:50 am


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