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
***Convert PD into normal variable
- arcvns
- Posts: 55
- Joined: Sat Feb 28, 2009 12:36 am
- Skillset: COBOL, JCL, SYNCSORT, VSAM, DB2
- Referer: Nobody
- Location: India
- Contact:
Re: ***Convert PD into normal variable
ansh_4702,
I dont have access to test this out. May be you can give it a try.
I dont have access to test this out. May be you can give it a try.
Code: Select all
//SYSIN DD *
OPTION COPY
INREC BUILD=(1,13,14,2,PD,EDIT=(TTT))
Arun
Re: ***Convert PD into normal variable
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
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
-
- Global moderator
- Posts: 369
- Joined: Tue Feb 26, 2008 11:15 pm
- Skillset: Syncsort MFX for z/OS
- Referer: Dick Scherrer
- Location: USA
- Contact:
Re: ***Convert PD into normal variable
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,
- arcvns
- Posts: 55
- Joined: Sat Feb 28, 2009 12:36 am
- Skillset: COBOL, JCL, SYNCSORT, VSAM, DB2
- Referer: Nobody
- Location: India
- Contact:
Re: ***Convert PD into normal variable
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.
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
Re: ***Convert PD into normal variable
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 !
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 !
- arcvns
- Posts: 55
- Joined: Sat Feb 28, 2009 12:36 am
- Skillset: COBOL, JCL, SYNCSORT, VSAM, DB2
- Referer: Nobody
- Location: India
- Contact:
Re: ***Convert PD into normal variable
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
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 8422
-
by prino
View the latest post
Sat Mar 13, 2021 4:47 am
-
-
Convert fixed-length input records to variable-length output
by xcspg3 » Wed Oct 23, 2024 1:45 pm » in DFSORT/ICETOOL/ICEGENER - 5
- 1453
-
by sergeyken
View the latest post
Wed Oct 30, 2024 1:09 pm
-
-
-
Converting universal groups to normal Racf group
by aarvalar1 » Thu May 23, 2024 10:15 pm » in Mainframe Security - 5
- 2769
-
by Robert Hansel
View the latest post
Wed Jul 24, 2024 5:12 pm
-
-
- 5
- 3996
-
by sergeyken
View the latest post
Wed Jun 16, 2021 6:23 pm
-
- 2
- 1579
-
by sergeyken
View the latest post
Sun Jan 26, 2025 3:07 am