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
 

 

setting default values for null in unload jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
i_sivapras

New User


Joined: 04 Aug 2009
Posts: 4
Location: hyderabad

PostPosted: Fri Sep 18, 2009 11:49 am    Post subject: setting default values for null in unload jcl
Reply with quote

Hi,

How can we set default values for null columns in unload JCL itself.
Back to top
View user's profile Send private message

Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Fri Sep 18, 2009 12:07 pm    Post subject:
Reply with quote

Hi,
Check for IF NULL condition,
Code:

,COLL_1           DECIMAL(15, 2)   

 IF NULL VALUE (0.00)


Hope this help
Back to top
View user's profile Send private message
i_sivapras

New User


Joined: 04 Aug 2009
Posts: 4
Location: hyderabad

PostPosted: Fri Sep 18, 2009 5:36 pm    Post subject: Reply to: setting default values for null in unload jcl
Reply with quote

It's not working..Can you explain in detail
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Fri Sep 18, 2009 5:37 pm    Post subject:
Reply with quote

Hi,
Which unload utility you are using for doing this ?
Back to top
View user's profile Send private message
i_sivapras

New User


Joined: 04 Aug 2009
Posts: 4
Location: hyderabad

PostPosted: Fri Sep 18, 2009 5:43 pm    Post subject:
Reply with quote

We are using INZUTILB utility
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm


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