Page 1 of 1

JCL SORT, replace a field with static value

PostPosted: Sun Mar 21, 2010 9:08 pm
by rvijayreddy
Hi,

I have a FB file with 2500 lrecl.
It has '100' & '500' values in column 3

I need to replace 683 column with static date '2010-12-12' if column 3 has a value '100'.

I know I can use IF THEN OVERLAY, but the problem is our mainframe version does not support these commands.

Can anyone please help !!!

Thanks,
Vijay.

Re: JCL SORT, replace a field with static value

PostPosted: Sun Mar 21, 2010 9:29 pm
by dick scherrer
Hello and welcome to the forum,

Suggest your system support people be encouraged to install the current level of the software - this is free. . .

Re: JCL SORT, replace a field with static value

PostPosted: Sun Mar 21, 2010 9:39 pm
by rvijayreddy
Thank you. d.sch.

but it would take sometime for that to happen..
meanwhile is there any other alternative ?

Thanks,
Vijay

Re: JCL SORT, replace a field with static value

PostPosted: Sun Mar 21, 2010 10:36 pm
by dick scherrer
Hello,

but it would take sometime for that to happen..
Well, it could take a while. But, the feature has been available for a long while :)

Which release of the sort is currently being used? If your system is as out of date as some i've worked on, even workarounds may not be available. . . :(