JCL SORT, replace a field with static value



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

JCL SORT, replace a field with static value

Postby rvijayreddy » Sun Mar 21, 2010 9:08 pm

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.
rvijayreddy
 
Posts: 2
Joined: Sun Mar 21, 2010 9:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL SORT, replace a field with static value

 

Re: JCL SORT, replace a field with static value

Postby dick scherrer » Sun Mar 21, 2010 9:29 pm

Hello and welcome to the forum,

Suggest your system support people be encouraged to install the current level of the software - this is free. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: JCL SORT, replace a field with static value

Postby rvijayreddy » Sun Mar 21, 2010 9:39 pm

Thank you. d.sch.

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

Thanks,
Vijay
rvijayreddy
 
Posts: 2
Joined: Sun Mar 21, 2010 9:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL SORT, replace a field with static value

Postby dick scherrer » Sun Mar 21, 2010 10:36 pm

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. . . :(
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post