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

Inserting NULL through OUTREC


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
harinair_kn
Warnings : 2

New User


Joined: 27 Feb 2006
Posts: 16
Location: India

PostPosted: Tue Jun 02, 2009 10:35 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 02, 2009 2:37 pm
Reply with quote

Define what a "null character" is, please. That term has no meaning on a mainframe.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Jun 02, 2009 5:38 pm
Reply with quote

Do you mean LOW VALUES here because there is no null char in file as Robert said...
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Jun 02, 2009 7:23 pm
Reply with quote

Unless this is about DB2 -- I'm dumb to understand what a NULL value is in a QSAM...
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: Tue Jun 02, 2009 9:07 pm
Reply with quote

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
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 Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Inserting variable length into output... JCL & VSAM 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts Inserting records in a file on a valu... DFSORT/ICETOOL 18
Search our Forums:

Back to Top