Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
DFSORT VB to FB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
aniceg
Warnings : 1

New User


Joined: 04 Apr 2008
Posts: 5
Location: chennai

PostPosted: Tue Jul 08, 2008 3:03 pm    Post subject: DFSORT VB to FB
Reply with quote

This jcl will convert a file of format variable to fixed.

Code:

//JS110 EXEC PGM=SORT
//SYSOUT DD SYSOUT=(,)
//SORTIN DD DSN=INPUT ,DISP=SHR----------------------VB 275
//SORTOF01 DD DSN=OUT,
// DISP=(,CATLG,DELETE),
// UNIT=DISK,MGMTCLAS=AMLYBW,SPACE=(TRK,(100,100),RLSE)
//SYSIN DD *
  OPTION COPY
  OUTFIL FNAMES=SORTOF01,VTOF,
    OUTREC=(5,269)
/*


I get UHGV - ABENDED S000 U0126
following error in spool
RECORD TYPE IS V - DATA STARTS IN POSITION 5
VLSHRT NOT USED FOR SORT, MERGE, INCLUDE, OMIT OR SUM STATEMENT FIELDS
INCONSISTENT *OUTREC IFTHEN 0 REFORMATTING FIELD FOUND
C5-K26318 C6-K90007 C7-K90000 C8-K23476 E9-K90007 E7-K24705
END OF DFSORT
Back to top
View user's profile Send private message
References
PostPosted: Tue Jul 08, 2008 3:03 pm    Post subject: Re: DFSORT VB to FB Reply with quote

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 4236
Location: San Jose, CA

PostPosted: Tue Jul 08, 2008 9:36 pm    Post subject:
Reply with quote

Something does not add up here. The error message you show does NOT match the control statements you show. I think you've mixed things up.

You are using an OUTFIL statement, but the ICE126A shows *OUTREC. It would only show *OUTREC if you were using an OUTREC statement, not an OUTFIL statement.

You need to go back and check what you're doing. If you got the ICE126A while using an OUTFIL statement, show the JCL and error messages associated with that. If you got the ICE126A while using an OUTREC statement, show the JCL and error messages for that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1