MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

split the record into 76 bytes

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
nbdtrjk1
Beginner


Joined: 12 Apr 2007
Posts: 76
Topics: 41

PostPosted: Thu Aug 14, 2008 5:44 am    Post subject: split the record into 76 bytes Reply with quote

Input file having record length of 32756(VB) bytes.Each and every record not the same length. some record may have 100 bytes some records may have 30000 bytes.

My requirement is i want to split each and every record into 76 bytes length.

I acheived the above requirement through cobol. is it possible do via JCL?



Thanks in Advance
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Aug 14, 2008 7:13 am    Post subject: Reply with quote

depends on which utility you invoke with your jcl.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
nbdtrjk1
Beginner


Joined: 12 Apr 2007
Posts: 76
Topics: 41

PostPosted: Thu Aug 14, 2008 7:30 am    Post subject: Reply with quote

anything is fine, except rexx and ezytrieve
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Thu Aug 14, 2008 1:44 pm    Post subject: Reply with quote

Rexx and Ezytrieve are languages not utilities but I am sure both would do it.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Aug 14, 2008 3:50 pm    Post subject: Reply with quote

You say split, not truncate.

So do you want all records diced into 76 byte pieces? What about the final piece of each record <76 bytes? Pad it?

Or just the first 76 bytes of each? As VB? Does the 76 include the RDW?

Care to give a little insight as to why you're doing this?
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Fri Aug 15, 2008 12:55 am    Post subject: Reply with quote

easier to browse.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Fri Aug 15, 2008 7:44 am    Post subject: Reply with quote

I am betting on a file transfer solution! Wink
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group