View previous topic :: View next topic
|
Author |
Message |
dot1q3 Warnings : 1 New User
Joined: 09 Feb 2021 Posts: 26 Location: United States
|
|
|
|
how to extract a portion (e.g. fields 10 - 20) of a record and send just that portion to a new dataset? |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1337 Location: Bamberg, Germany
|
|
|
|
Use some SORT product. That's one of the simplest tasks it can do for you. |
|
Back to top |
|
|
dot1q3 Warnings : 1 New User
Joined: 09 Feb 2021 Posts: 26 Location: United States
|
|
|
|
i'm using sort with the following sysin:
INREC FIELDS=(10,5)
SORT FIELDS=COPY
I'M GETTING IEC130I SYNOUT DD STATEMENT MISSING
ANY OTHER SUGGESTIONS OR SAMPLES? |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1337 Location: Bamberg, Germany
|
|
|
|
Add:
Code: |
//SYMNOUT DD SYSOUT=*
//SYSOUT DD SYSOUT=* |
And, please use code tags when presenting code in the forum. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
DO NOT POST THE SAME QUESTION ON DIFFERENT FORUMS AT THE SAME TIME
the people answering there are the same answering here
www.ibmmainframeforum.com/jcl/topic12492.html
decide where you want to carry on the discussion
the other topic will be deleted by a moderator |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2143 Location: USA
|
|
|
|
Joerg.Findeisen wrote: |
Add:
Code: |
//SYMNOUT DD SYSOUT=*
//SYSOUT DD SYSOUT=* |
And, please use code tags when presenting code in the forum. |
In fact, only one of those DD is needed for a particular system.
Code: |
//SYNOUT DD SYSOUT=*
//SYSOUT DD SYSOUT=* |
Initially, //SYSOUT has been used by SYNCSORT developers. Then it was found that this //SYSOUT is used by many other programs, which may conflict when more than two of them are called within the same job step. So, in some particular installed versions the default value was changed to //SYNOUT
Try: which one is working in your configuration, and continue using only that one. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2143 Location: USA
|
|
|
|
dot1q3 wrote: |
i'm using sort with the following sysin:
INREC FIELDS=(10,5)
SORT FIELDS=COPY
I'M GETTING IEC130I SYNOUT DD STATEMENT MISSING
ANY OTHER SUGGESTIONS OR SAMPLES? |
1. You have quoted your SORT control statements, but the problem is with your JCL code, not demonstrated. Do you understand the difference between apples, and oranges?
2. Is the message IEC130I SYNOUT DD STATEMENT MISSING not self-explanatory???
That exactly means that the required DD statement is missing. What you see is what you get.
Try to find the IBM explanation for IEC130I |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1337 Location: Bamberg, Germany
|
|
|
|
sergeyken wrote: |
In fact, only one of those DD is needed for a particular system.
Code: |
//SYNOUT DD SYSOUT=*
//SYSOUT DD SYSOUT=* |
Initially, //SYSOUT has been used by SYNCSORT developers. Then it was found that this //SYSOUT is used by many other programs, which may conflict when more than two of them are called within the same job step. So, in some particular installed versions the default value was changed to //SYNOUT |
Thank you for this update. I always can learn new things from you. Thanks! |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
Cleaned and locked. |
|
Back to top |
|
|
|