Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
Please copy/paste from your emulator.
When you want us to make suggestions about errors you have, you need to show what errors you are getting. Copy/paste from the sysout for the step.
If you have accurately re-typed, I suggest you look at the manuals (links at the top of the forum) and examples of SORT and INCLUDE here. Everything detailed in the manuals about the format of control cards and the statements on them is required.
Sysin dd *
sort fields=(104,2,ch,137,2,ch) //the error is after format ch is that the format for numeric
include cond=((104,2,ch,eq,c,'99')and(137,2,ch,eq,c,'0')) //the error is after c,
/*
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
I'm sorry, but I've suggested that you look at the manuals and examples for SORT and INCLUDE. I've asked you to paste from your emulator. If you can't do any of that for some reason, I don't know what to do.
OK, one more suggestion, it'll take you a bit longer, because you'll have to go back to manuals/examples, but look up the text of the error messages you get. IBM LookAt, on the web, will even extract the message from the manual and display it for you. I'm not going to do that.
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
If you copy that and paste it and run it you'll find it doesn't work. Please stop re-typing things. We don't know what your actual mistakes are and what are just typos.
Do you still have problems with what you are running on your system? If so, please copy/paste them here, with the messages you receive in the sysout for the step.