Joined: 05 Apr 2005 Posts: 131 Topics: 64 Location: chennai
Posted: Thu May 26, 2005 1:21 pm Post subject: Record reformat using INSYNC
i would like to know if we can give nested case constructs in INSYNC
If so how to give the same
I am not sure about this
Basically i want to check that a record starts with say SR2RT and it has numeric digits in 2 bytes at 105,2 position If so i want to prefix the 105,2 field by a 0 if it starts with SR2RT and it does not have numeric digits in 2 bytes at 105,2 position then i want to prefix the 105,2 field by a space
I dont want to use sort since i have a lower version of sort & it is a bit complicated
I gave the below & it is not working as desired
EQP Equal packed
NEP Not equal packed
EQN Equal numeric
NEN Not equal numeric
Hope this helps...
Cheers
Kolusu
Ps: Please post your LRECL and RECFM , I will try to post a solution using sort which will work even on older versions. _________________ Kolusu
www.linkedin.com/in/kolusu
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum