how exclude bytes in a middle of VB record



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

Re: how exclude bytes in a middle of VB record

Postby BillyBoyo » Thu Jul 19, 2012 1:53 pm

"SYNCSORT PROBLEMS CONTACT THE ROCC" it says in your sysout :-)

If you have no DCB for your output and using (1,4,5) etc I'm not sure how you'd get 4227 for your length.

I don't have Syncsort, so can't try it.

If The ROCC is not available, post your JCL, cards with the (1,4,5) etc and the sysout from the step.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Re: how exclude bytes in a middle of VB record

 

Re: how exclude bytes in a middle of VB record

Postby dick scherrer » Thu Jul 19, 2012 11:41 pm

Hello,

I suspect that when you didn't specify "enough" in the code and also did not specify a dcb in the output, the input dcb was used?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: how exclude bytes in a middle of VB record

Postby juares castro » Fri Jul 20, 2012 12:17 am

Hi Dick!
That is clear to me. Not specifying neither all code "(1,4,5)" nor DCB for output, DCB Input file sets the output.
Important to me now is that code written first by Billy works. Spaces (40) that complete the record length are not a big problem
for my requirement. Just would like to know how avoid that.
Thanks!
juares castro
 
Posts: 9
Joined: Mon May 14, 2012 7:24 am
Has thanked: 0 time
Been thanked: 0 time

Re: how exclude bytes in a middle of VB record

Postby dick scherrer » Fri Jul 20, 2012 7:09 am

Hello,

Maybe it will help if you post the complete jcl and sort control for the "code written first by Billy". I seem to have gotten myself lost :)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: how exclude bytes in a middle of VB record

Postby juares castro » Sat Jul 21, 2012 12:28 am

Hi!
The last code used and INPUT/OUTPUT files were posted before. (Tue Jul 17, 2012 7:27 pm)
Thanks!
juares castro
 
Posts: 9
Joined: Mon May 14, 2012 7:24 am
Has thanked: 0 time
Been thanked: 0 time

Re: how exclude bytes in a middle of VB record

Postby dick scherrer » Sat Jul 21, 2012 12:39 am

Hello,

I still don't see any code "written by Billy". . .

It would help if all of the "pieces" were posted in one post/reply. Then we would not need to root around to look at this.

Thanks.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: how exclude bytes in a middle of VB record

Postby juares castro » Sat Jul 21, 2012 12:56 am

Hi!
Tue Jul 17, 2012 6:24 am Billy posted that I should change second clause "IFTHEN" to "IFTHEN=(WHEN=NONE" then
I changed it and ran OK. And after that I posted the code and results.
Thanks!
juares castro
 
Posts: 9
Joined: Mon May 14, 2012 7:24 am
Has thanked: 0 time
Been thanked: 0 time

Re: how exclude bytes in a middle of VB record

Postby BillyBoyo » Sat Jul 21, 2012 2:53 pm

Juares,

You have to understand how it looks to us. Even if nothing has changed with regard to what you have posted and you have posted nothing "extra", we are not in a position to know that, and can't reliably expect to be able to recreate from the bits and pieces you have supplied. And that, remember, is if everything is correct.

I can't think how you are getting 4227 records written, and couldn't from your original. I don't have Syncsort and can't experiment.

Please put together a post with the JCL used, the sort control cards, the output from the step and a sample input record(s) reflecting the problem, the output record from that and what output was expected.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Previous

Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post