View previous topic :: View next topic
|
Author |
Message |
kanisha_prabha
New User
Joined: 10 Mar 2006 Posts: 26
|
|
|
|
Hi, I have files that should be zipped if no. of records in file is greater than 10,000. This needs to be done with the help of a JCL (no COBOL programs allowed). Is there any way to determine (using REXX or JCL utilities) whether the file has no. of records greater than 10,000? And based on that can I code in the next step the zip utility? |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi Murali,
The link is not working. Is it possible to attach the PDF itself? |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Parikshit,
Copy the link into the browser and remove [/b] at the end of the link. Sorry about the same. |
|
Back to top |
|
|
kanisha_prabha
New User
Joined: 10 Mar 2006 Posts: 26
|
|
|
|
Murali,
Thanks a lot for the document. It works!
- Kanisha |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Why not just zip the file regardless of size?
If you send it zipped some of the time and uncompressed some of the time, the process on the target requires a run-time decision every time.
Consistency is much better. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Murali,
Whenever you post the link to the Tricks page, please use this URL:
www.ibm.com/servers/storage/support/software/sort/mvs/tricks/
The URL you get by copy and paste from the page can change from time to time depending on how IBM changes its servers, so it may work for a while and then not work later. The URL above will always work.
I've corrected the URL in your post.
Thanks. |
|
Back to top |
|
|
|