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
 

 

CONVERT feature cannot be used with OVERLAY OR IFTHEN

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: CONVERT feature cannot be used with OVERLAY OR IFTHEN
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: 2150
Location: At my coffee table

PostPosted: Thu Aug 16, 2007 8:04 pm    Post subject:
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    Post subject: Reply to: CONVERT feature cannot be used with OVERLAY OR IFT
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 Moderator


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

PostPosted: Thu Aug 16, 2007 8:42 pm    Post subject:
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    Post subject: Reply to: CONVERT feature cannot be used with OVERLAY OR IFT
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 Moderator


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

PostPosted: Thu Aug 16, 2007 8:58 pm    Post subject:
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    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 How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Convert +9999999999999.99 to S9(12)V9(3) vnktrrd DFSORT/ICETOOL 8 Thu Nov 17, 2016 8:15 pm
This topic is locked: you cannot edit posts or make replies. Db2 SQL query to convert rows into co... subratarec DB2 5 Thu Nov 17, 2016 4:51 pm
No new posts convert PD to ZD ram_vizag DFSORT/ICETOOL 5 Sat Nov 05, 2016 3:06 am
No new posts help: convert C'00AB' to X'00AB' alan_gu DFSORT/ICETOOL 1 Thu Sep 29, 2016 12:22 pm


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