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
 

 

how to verify Junk values in a field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
swarnasuneel

New User


Joined: 20 Apr 2012
Posts: 20
Location: chennai

PostPosted: Mon Aug 27, 2012 7:49 pm    Post subject: how to verify Junk values in a field
Reply with quote

In one of myFILE a field contains junk vlues. How we can test the field using JCL whether it contains JUNK values OR NOT.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Mon Aug 27, 2012 7:54 pm    Post subject:
Reply with quote

1. There is not such thing as "junk values" in data -- there may be valid data, and there may be invalid data, and there may data you did not expect, but the data came from somewhere and hence should not be considered "junk".

2. JCL executes programs. It cannot be used to determine what any data field has in it. If you wanted to use a utility like SORT or IDCAMS or IEBGENER, that MIGHT be possible. But just using JCL, all you can do is execute programs.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Mon Aug 27, 2012 7:56 pm    Post subject:
Reply with quote

"Junk" is a concept/thought -- it's not a key word in any language. What is "junk" for your application, can be prefectly valid for other application. And for that matter, nothing is junk; you, as a programmer just don't want that data to be processed by your application.

Said all that, what is that you define as "junk", can you identify that?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Mon Aug 27, 2012 7:58 pm    Post subject:
Reply with quote

Robert - I like it when my thoughts get similar to a Systems Programmer's way of thinking! icon_smile.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Mon Aug 27, 2012 8:01 pm    Post subject:
Reply with quote

Anuj -- that could be scary! icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Aug 27, 2012 8:51 pm    Post subject:
Reply with quote

Hello,

Quote:
In one of myFILE a field contains junk vlues.
It will help if you post a few of these values . . .

Use HEX ON, copy/paste, and the Code tags.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Mon Aug 27, 2012 9:15 pm    Post subject:
Reply with quote

Every bit setting is a valid binary number representation.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Aug 27, 2012 10:41 pm    Post subject: Reply to: how to verify Junk values in a field
Reply with quote

Please define "JUNK" (your interpretation)?
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 TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 2 Fri Dec 09, 2016 10:57 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 24 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts PDSFAST VERIFY - What does it really ... shetttigarvivek JCL & VSAM 1 Tue Nov 29, 2016 9:21 am
No new posts Overlaying one set of charater values... Kevin Lindsley SYNCSORT 7 Sat Nov 05, 2016 3:21 am


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