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

JCL - Omit blank records in a file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 16, 2008 11:39 pm
Reply with quote

just a reminder,

since the TS is talking about a record length of 133,
probably ( or rather, certainly ) the recfm is FBA/FBM
so the first byte will contain the printer control char,

to check for blank lines the test should start at column 2 for 132 bytes
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: Thu Oct 16, 2008 11:47 pm
Reply with quote

That may well be true.

I don't think 0C would be an FBA control character. It could be an FBM control character - I couldn't find 0C listed in my yellow card, but it certainly could be a machine code (I found 0A and 0B).

In which case:

Code:

  OMIT COND=(2,132,CH,EQ,C' ')


should work.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Fri Oct 17, 2008 12:08 am
Reply with quote

Quote:
It is the hex value of Positive sign.



Quote:
think that you are pretty well mistaken in your statement that '0C'X equates to charachter +


I would think that the X'0C' is a packed decimal positive zero?

Garry.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Oct 17, 2008 12:40 am
Reply with quote

Well, to me a positive sign is + and in my book thats '4E'X.
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 -> JCL & VSAM Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts To fetch records that has Ttamp value... DFSORT/ICETOOL 1
No new posts ICETOOL returns no records JCL & VSAM 1
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
Search our Forums:

Back to Top