***Convert PD into normal variable



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

Re: ***Convert PD into normal variable

Postby ansh_4702 » Tue Jun 02, 2009 12:00 pm

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
ansh_4702
 
Posts: 33
Joined: Thu Jan 08, 2009 2:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ***Convert PD into normal variable

Postby arcvns » Tue Jun 02, 2009 10:57 pm

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))
Arun
User avatar
arcvns
 
Posts: 55
Joined: Sat Feb 28, 2009 12:36 am
Location: India
Has thanked: 0 time
Been thanked: 0 time

Re: ***Convert PD into normal variable

Postby ansh_4702 » Wed Jun 03, 2009 2:48 pm

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
ansh_4702
 
Posts: 33
Joined: Thu Jan 08, 2009 2:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ***Convert PD into normal variable

Postby Alissa Margulies » Wed Jun 03, 2009 7:33 pm

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,
Alissa Margulies
Syncsort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Alissa Margulies
Global moderator
 
Posts: 369
Joined: Tue Feb 26, 2008 11:15 pm
Location: USA
Has thanked: 1 time
Been thanked: 3 times

Re: ***Convert PD into normal variable

Postby arcvns » Wed Jun 03, 2009 8:17 pm

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.
Arun
User avatar
arcvns
 
Posts: 55
Joined: Sat Feb 28, 2009 12:36 am
Location: India
Has thanked: 0 time
Been thanked: 0 time

Re: ***Convert PD into normal variable

Postby ansh_4702 » Thu Jun 04, 2009 2:51 pm

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 !
ansh_4702
 
Posts: 33
Joined: Thu Jan 08, 2009 2:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ***Convert PD into normal variable

Postby arcvns » Fri Jun 05, 2009 12:12 am

You're welcome. I just thought of focusing on your problem area. Hence left out the last field. Good that you got this working.
Arun
User avatar
arcvns
 
Posts: 55
Joined: Sat Feb 28, 2009 12:36 am
Location: India
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post