View previous topic :: View next topic |
Author |
Message |
nbdtrjk1 Beginner
Joined: 12 Apr 2007 Posts: 76 Topics: 41
|
Posted: Thu Aug 14, 2008 5:44 am Post subject: split the record into 76 bytes |
|
|
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 |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Aug 14, 2008 7:13 am Post subject: |
|
|
depends on which utility you invoke with your jcl. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
nbdtrjk1 Beginner
Joined: 12 Apr 2007 Posts: 76 Topics: 41
|
Posted: Thu Aug 14, 2008 7:30 am Post subject: |
|
|
anything is fine, except rexx and ezytrieve |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Thu Aug 14, 2008 1:44 pm Post subject: |
|
|
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 |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Thu Aug 14, 2008 3:50 pm Post subject: |
|
|
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 |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Fri Aug 15, 2008 12:55 am Post subject: |
|
|
easier to browse. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Fri Aug 15, 2008 7:44 am Post subject: |
|
|
I am betting on a file transfer solution! _________________ 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 |
|
|
|
|