Page 1 of 2

SyncSort - Result display starts in column 2 instead of 1

PostPosted: Wed Jan 02, 2013 6:19 pm
by tivrfoa
Hi,

My dataset starts in column 1, but, whatever I do in SYSIN DD *, the result starts in column 2.
Is this the normal behaviour?

Thank you.

Re: SyncSort - Result display starts in column 2 instead of

PostPosted: Wed Jan 02, 2013 6:25 pm
by enrico-sorichetti
How do You expect a reply with the NOinformation given ???

show the jcl stram used and somebody will be able to tell

USE THE CODE TAGS to make jcl readable

Re: SyncSort - Result display starts in column 2 instead of

PostPosted: Wed Jan 02, 2013 6:26 pm
by prino
This question is just as meaningless as asking "What's the difference between a crocodile?"

Re: SyncSort - Result display starts in column 2 instead of

PostPosted: Wed Jan 02, 2013 6:36 pm
by tivrfoa
kkkkkk

I didn't show the JCL because it adds nothing. But as you weren't capable to understand, here it is:

//OMIT    EXEC PGM=SORT
//SYSOUT  DD SYSOUT=*
//SORTIN  DD DSN=dsname,DISP=SHR
//SORTOUT DD SYSOUT=*
//SYSIN   DD *
  OMIT COND=(57,5,CH,EQ,C'BUSIN')
  SORT FIELDS=(1,31,CH,A)
/*


... and the result starts in column 2 instead of 1.

Re: SyncSort - Result display starts in column 2 instead of

PostPosted: Wed Jan 02, 2013 6:58 pm
by prino
Your JCL doesn't show any result.

Re: SyncSort - Result display starts in column 2 instead of

PostPosted: Wed Jan 02, 2013 7:00 pm
by BillyBoyo
Your SORTOUT is going to SYSOUT. Are you asking why, in SDSF or whatever, the first character in your output dataset is in column 2 on the screen when you look at it rather than print it?

Re: SyncSort - Result display starts in column 2 instead of

PostPosted: Wed Jan 02, 2013 7:04 pm
by enrico-sorichetti
I didn't show the JCL because it adds nothing. But as you weren't capable to understand, here it is:

You are just plain wrong ... it is You that are just not capable of explaining
we are even too much patient trying to help people like You :evil:

what is that starts in column 2 ???
SYSPRINT ???
SORTOUT ???

Re: SyncSort - Result display starts in column 2 instead of

PostPosted: Wed Jan 02, 2013 7:18 pm
by Robert Sample
Are you aware that on a mainframe, a SYSOUT=* file reserves the first byte for print carriage control and hence there will not be any of your data in column one -- EVER? If you are not aware of this basic mainframe fact, then you need a serious attitude adjustment since you have YEARS of things to learn. If you are aware of this basic mainframe fact, why did you post a question?

Re: SyncSort - Result display starts in column 2 instead of

PostPosted: Wed Jan 02, 2013 8:30 pm
by tivrfoa
Robert Sample wrote:Are you aware that on a mainframe, a SYSOUT=* file reserves the first byte for print carriage control and hence there will not be any of your data in column one -- EVER?

AHA.

So simple to answer and it shows that there were no need for the JCL here. As I said:
Is this the normal behaviour?

Yes, it is.

Re: SyncSort - Result display starts in column 2 instead of

PostPosted: Wed Jan 02, 2013 8:35 pm
by Robert Sample
it shows that there were no need for the JCL here.
Actually, since it is extremely unusual to use SYSOUT for a SORTOUT, without posting the JCL as you did it would have taken MUCH longer to figure out the issue.