IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Problem with overlapping fields


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abdul.faras

New User


Joined: 29 Feb 2008
Posts: 49
Location: Pune

PostPosted: Mon Aug 26, 2013 11:16 am
Reply with quote

Hi,
I am facing similar problem (to this)

Code:

********************************* TOP OF DATA **********************************
ICE201I H RECORD TYPE IS V - DATA STARTS IN POSITION 5
ICE150I 1 VLSHRT NOT USED FOR SORT, MERGE, INCLUDE, OMIT OR SUM STATEMENT FIELDS
ICE805I 1 JOBNAME: CJYAF5YH , STEPNAME: S01SORT2
ICE802I 0 BLOCKSET     TECHNIQUE IN CONTROL
ICE143I 0 BLOCKSET     COPY  TECHNIQUE SELECTED
ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AN
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R12 - 06:42 ON MON AU
                 SORT FIELDS=COPY
                 OPTION VLSHRT
                 OUTFIL BUILD=(1:1,4,
                               5:5,186,
                               191:191,12,ZD,ADD,+1,
                               203:203,3,
                               206:206,12,ZD,ADD,+1,
                               218:218,811),VLFILL=C' '
ICE201I H RECORD TYPE IS V - DATA STARTS IN POSITION 5
ICE150I 1 VLSHRT NOT USED FOR SORT, MERGE, INCLUDE, OMIT OR SUM STATEMENT FIELDS
ICE126A 9 INCONSISTENT REFORMATTING FOR SORTOUT : REASON CODE 04, IFTHEN 0
ICE751I 0 C5-K76982 C6-K90026 C7-K58148 C8-K67572 E9-K60824 E7-K70685
ICE052I 3 END OF DFSORT
******************************** BOTTOM OF DATA ********************************


What could be the problem?
i/p & o/p files are - VB 1024
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 26, 2013 1:33 pm
Reply with quote

New question, new topic. Please don't tailgate old topics.

Have you looked at the ICE126A message? There's a manual, there's IBM Lookat. There's google. No excuses.

Whilst there, look at ICE150I.

Also, how about telling us what you are trying to do?
Back to top
View user's profile Send private message
abdul.faras

New User


Joined: 29 Feb 2008
Posts: 49
Location: Pune

PostPosted: Mon Aug 26, 2013 3:23 pm
Reply with quote

Hi Bill,
Sorry! I didn't know the rule of starting a new thread! I thought, since it is similar problem, the solution should remain at the same thread.

Anyways,
I already searched for the error
"ICE126A 9 INCONSISTENT REFORMATTING FOR SORTOUT : REASON CODE 04, IFTHEN 0";

I got this explaination.

Quote:

4.A column overlapped the previous output field in the reformatted record.
Example (fixed-length input):

INREC IFTHEN=(WHEN=INIT,
BUILD=(81:SEQNUM,8,ZD)),
IFTHEN=(WHEN=(81,8,ZD,EQ,+1),
BUILD=(3,20,20:C'ABC'))


But I don't see any overlapping column in my sort card. icon_sad.gif That is why I approched for the help.

For the error ICE201I I got this expaination -

Quote:

Explanation: Indicates whether DFSORT processes the input records as
fixed-length (without an RDW) or variable-length (with an RDW).
Programmer Response: None, unless you are using VSAM input


But I have given:
Code:
OUTFIL BUILD=(1:1,4,


What am I trying to do?
i/p file VB 1024
o/p file VB 1024
1. copy all records as it is
2. only 2 columns- from 187,12 and 202,12 have value, which I need to increase by "+1".

Please let me know if I am making any mistake.
I have tried UFF in place of ZD as well. It failed with the same error,
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 26, 2013 4:29 pm
Reply with quote

This is not to fix your problem, but to help you diagnose your problem.

Code:
  OPTION COPY,STOPAFT=10
  OUTFIL BUILD=(1,4,
                C'>',
                191,12,ZD,ADD,+1,
                C'<',
                C'>',
                206,12,ZD,ADD,+1,
                C'<')


Run this, and look carefully at the output.

The manual does explain why this has happened, as it is supposed to happen when you don't tell it otherwise. You are getting a default behaviour.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
Search our Forums:

Back to Top