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

CONVERT feature cannot be used with OVERLAY OR IFTHEN


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
helga

New User


Joined: 11 Sep 2006
Posts: 23

PostPosted: Thu Aug 16, 2007 8:00 pm
Reply with quote

I get this message when doing an INREC or an OUTREC and the BUILD does not fill the last character. For instance the output file has LRECL=80 and I use
Code:
BUILD=(007:001,003,
       015:005,010)


Obviously I can get around this by using the correct LRECL (24 in this case) or
Code:
BUILD=(007:001,003,
       015:005,010,
       080:C' ')


Is there a way I can have it simply pad the output record?

btw, I tried a search and have Rd TFM (many times) icon_razz.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Aug 16, 2007 8:04 pm
Reply with quote

FB 80 input and what do you want for output? VB? FB? lrecl 24? lcrel 80?
Back to top
View user's profile Send private message
helga

New User


Joined: 11 Sep 2006
Posts: 23

PostPosted: Thu Aug 16, 2007 8:15 pm
Reply with quote

In this case I'm doing a splice, so I'm COPYing a file and moving the fields around so that it matches the fields in another file.

Specifically, my base is a Code + ID
Code:
XXXXX YYYYYYYYYY

with an overlay of
Code:
ZZZZZ XXXXX ZZZ

so I use COPY to make
Code:
      XXXXX     YYYYYYYYYY
ZZZZZ XXXXX ZZZ

and I was trying to make it reasnoably generic.


I get this message a lot though and I always solve it by using C' ' in the last position to match the LRECL




note, I'm using OUTFIL+BUILD on the COPY, maybe I should just use BUILD and make it work on the inoput side, but I think I would still get the message
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Thu Aug 16, 2007 8:42 pm
Reply with quote

Helga,

If the message you received is "CONVERT feature cannot be used with OVERLAY" (WERxxxA), then you're using Syncsort, not DFSORT, so I'm moving this thread to the JCL Forum.
Back to top
View user's profile Send private message
helga

New User


Joined: 11 Sep 2006
Posts: 23

PostPosted: Thu Aug 16, 2007 8:47 pm
Reply with quote

Good point. Sorry I forgot about that, but yes it's Syncsort over here. I still haven't figured out how to get to DFSORT yet.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Thu Aug 16, 2007 8:58 pm
Reply with quote

Quote:
I still haven't figured out how to get to DFSORT yet.


You can't use DFSORT unless your site is licensed for it. Since your primary sort is Syncsort, if your site is also licensed for DFSORT, you would have to use a JOBLIB/STEPLIB with the libraries in which DFSORT was installed. Ask your System Programmers if your site is licensed for DFSORT and if so, which libraries to JOBLIB/STEPLIB to.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Convert HEX to Numeric DB2 3
Search our Forums:

Back to Top