Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to Initialize S9(8)V9(2)USAGE COMP-3 as zeros Syncsort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Kranthi_Merigala

New User


Joined: 22 Mar 2010
Posts: 17
Location: Hartford

PostPosted: Tue Apr 20, 2010 3:28 am    Post subject: How to Initialize S9(8)V9(2)USAGE COMP-3 as zeros Syncsort
Reply with quote

Hi,

I want to default the field S9(8)V9(2)USAGE COMP-3 to zeros in outrec of Syncsort card.

The field iam mentioning is from 250 to 6 bytes

I Have tried the below two syntax

OUTREC FIELDS=(1:1,13,25:225X,250:6X'FFFFFFFFFFFF',256:30X)
OUTREC FIELDS=(1:1,13,25:225X,250:6Z,256:30X)

For the second declaration its showing INVALID in the field.

Please help in finding how to declare

Thanks,
Kranthi.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Apr 20, 2010 4:37 am    Post subject:
Reply with quote

comp-3 is packed-decimal.

where in your outrec fields control card are you attempting to overlay a 6 byted packed-decimal field contain zero?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Apr 20, 2010 6:24 am    Post subject:
Reply with quote

Try
Code:
250:+0,TO=PD,LENGTH=6
Back to top
View user's profile Send private message
Kranthi_Merigala

New User


Joined: 22 Mar 2010
Posts: 17
Location: Hartford

PostPosted: Tue Apr 20, 2010 7:41 pm    Post subject:
Reply with quote

Thank you.It worked
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Apr 20, 2010 8:43 pm    Post subject:
Reply with quote

Glad to hear that! icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts )SEL and )ENDSEL usage cvnlynn TSO/ISPF 4 Thu Jun 15, 2017 1:15 am
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 7 Sat Jan 21, 2017 4:02 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us