Page 2 of 2

Re: ***Convert PD into normal variable

PostPosted: Tue Jun 02, 2009 12:00 pm
by ansh_4702
Hi Arcvns,

Please conisder the values from position 14-15 only. I think by mistake i put a red mark before that as well.
12345678901234567890123456
FFFFFFFFFFF00010DEFFFFFFFF
01981206955000C09320071210

Re: ***Convert PD into normal variable

PostPosted: Tue Jun 02, 2009 10:57 pm
by arcvns
ansh_4702,

I dont have access to test this out. May be you can give it a try.

//SYSIN DD *
  OPTION COPY
  INREC BUILD=(1,13,14,2,PD,EDIT=(TTT))

Re: ***Convert PD into normal variable

PostPosted: Wed Jun 03, 2009 2:48 pm
by ansh_4702
Hi Arcvna,

This card is working. Earlier i didnt try DFSORT cards...coz I thought it wud not work in my system.
Thanks so much for your help.
Now the o/p is in desired format:
1234567890123456
01981206955..001RT20071210

Re: ***Convert PD into normal variable

PostPosted: Wed Jun 03, 2009 7:33 pm
by Alissa Margulies
ansh_4702 wrote:Earlier i didnt try DFSORT cards...coz I thought it wud not work in my system.

All of the control statements provided to you in this thread are fully supported and documented SyncSort control statements. If you were not aware of this, then you could have simply substituted SORT FIELDS=COPY instead of OPTION COPY, and FIELDS in place of BUILD, and the job would run just the same.

If you are in need of current manuals, please feel free to contact me offline at alissa.margulies@syncsort.com and I would be happy to further assist you.

Regards,

Re: ***Convert PD into normal variable

PostPosted: Wed Jun 03, 2009 8:17 pm
by arcvns
ansh_4702,

You're welcome. Good to hear that it did work for you. But the cards provided above are not "DFSORT cards". These control statements ARE supported by SyncSort as pointed out by Alissa.

Re: ***Convert PD into normal variable

PostPosted: Thu Jun 04, 2009 2:51 pm
by ansh_4702
Hi Alissa,

Thanks so much for the information !

Hi Arcvns,

Forgot to tell you yesterday that I had to do little modification in the card. Below is the modified card:

//SYSIN DD *
OPTION COPY
INREC BUILD=(1,13,14,2,PD,EDIT=(TTT),17,64)
/*

Thanks again for your help !

Re: ***Convert PD into normal variable

PostPosted: Fri Jun 05, 2009 12:12 am
by arcvns
You're welcome. I just thought of focusing on your problem area. Hence left out the last field. Good that you got this working.