View previous topic :: View next topic
|
Author |
Message |
helga
New User
Joined: 11 Sep 2006 Posts: 23
|
|
|
|
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) |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
FB 80 input and what do you want for output? VB? FB? lrecl 24? lcrel 80? |
|
Back to top |
|
|
helga
New User
Joined: 11 Sep 2006 Posts: 23
|
|
|
|
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
with an overlay of
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 |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
helga
New User
Joined: 11 Sep 2006 Posts: 23
|
|
|
|
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 |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
|