Page 2 of 2

Re: File Comparison (Another problem)

PostPosted: Mon Sep 10, 2012 2:13 pm
by thermalchu
@dick: As per your instructions, I downloaded cobol program. But I was not able to compile it. So I asked support people the cobol command to compile it, they said to download compilation jcl. I got one from google, but I have no idea what to do..

@skolusu: Thank you for providing the jcl. But the record length is aroung 7000 and there are numerous columns. And can we use copybook in jcl?

Re: File Comparison (Another problem)

PostPosted: Mon Sep 10, 2012 5:39 pm
by NicC
What do you mean by "use copybook in jcl"? Do you mean 'can the sort control cards be a member of a PDS which can be specified for the SYSIN DD statement'? If so, yes - basic JCL.

Re: File Comparison (Another problem)

PostPosted: Mon Sep 10, 2012 6:00 pm
by BillyBoyo
You can use Symbols in DFSORT. There is a whole chapter in the manual on it.

DFSORT also provides a little bit of rexx to convert a Cobol copybook into DFSORT symbols.

Re: File Comparison (Another problem)

PostPosted: Mon Sep 10, 2012 7:46 pm
by dick scherrer
Hello,

But I was not able to compile it.
Why not? This is just another form of saying "it doesn't work" - which is just a waste of space and time of the forum. If you don't post what the problem is, there is no way for us to help.

So I asked support people the cobol command to compile it, they said to download compilation jcl.
Utter nonsense. There is (should be) standard batch compile jcl on the system. This should be used - not something snagged from the internet.

Have you ever written a batch cobol program to be run on your system? If yes, use that compile jcl.

Re: File Comparison (Another problem)

PostPosted: Mon Sep 10, 2012 10:47 pm
by skolusu
thermalchu wrote:@skolusu: Thank you for providing the jcl. But the record length is aroung 7000 and there are numerous columns. And can we use copybook in jcl?


Well You can symbols generated from the copy book and you need to move them around to match the 4000 bytes.