×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

FILEAID TO SYNCSORT CONVERSION

FILEAID TO SYNCSORT CONVERSION

FILEAID TO SYNCSORT CONVERSION

(OP)
Hi All,

I have input file and output file in VB format . JCL uses fileaid to copy the input file to output file. The sort cards for it is

$$DD01 COPY IF=(5,EQ,C'THE'),
ORIF=(4,0,X'F1F4F76B0D'),
ORIF=(4,0,X'F1F4F86B0D'),
ORIF=(4,0,X'F1F4F96B0D')

I want to convert this to SYNSORT (PGM=SORT ). The sort card which I made is

OPTION COPY
INCLUDE COND=((5,3,CH,EQ,C'THE'),
|,(1,4,CH,EQ,X'F1F4F76B0D'),
|,(1,4,CH,EQ,X'F1F4F86B0D'))

There seems to be some problem with SYnSORT card. The condition - =((5,3,CH,EQ,C'THE')is working fine but conditions -
|,(1,4,CH,EQ,X'F1F4F76B0D'),
|,(1,4,CH,EQ,X'F1F4F86B0D'))
does not work as accepted

Please help me to make it work.

Thanks all for the help

RE: FILEAID TO SYNCSORT CONVERSION

What column, when you look at the file, does the word 'THE' appear in? Column 5 or column 1?

I have a feeling that when working with VB files in sort you have to add 4 to the length for the variable bit.

RE: FILEAID TO SYNCSORT CONVERSION

Yes, you need to add 4 to allow for the RDW.

What error message(s) were generated by the run?

Try using OR instead of the |.

Which release of Syncsort is being used?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close