View previous topic :: View next topic
|
Author |
Message |
harinair_kn Warnings : 2 New User
Joined: 27 Feb 2006 Posts: 16 Location: India
|
|
|
|
Hi
Is there any way to insert a null character in the output file using OUTREC? At preset my sort step is as follows.
OUTREC FIELDS = (1,4,1X,5,24)
I need a null character in place of "1X". Is it possible? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Define what a "null character" is, please. That term has no meaning on a mainframe. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Do you mean LOW VALUES here because there is no null char in file as Robert said... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Unless this is about DB2 -- I'm dumb to understand what a NULL value is in a QSAM... |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
I need a null character in place of "1X". Is it possible? |
I don't know what you mean by a null character, but if it has a hex representation, then you can use X'hh' instead of 1X to insert it where hh is the hex representation (e.g. X'00' for binary zero). |
|
Back to top |
|
|
|