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 move x(30) to S9(15)v usage comp-3

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

New User


Joined: 05 Sep 2008
Posts: 15
Location: Hyderabad

PostPosted: Sat Nov 08, 2008 5:20 pm    Post subject: How to move x(30) to S9(15)v usage comp-3
Reply with quote

Hi All

Can you tell me how to move x(30) to S9(15)v usage comp-3 using syncsort

Thank you
Back to top
View user's profile Send private message

Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2284
Location: @my desk

PostPosted: Sat Nov 08, 2008 5:37 pm    Post subject: Reply to: How to move x(30) to S9(15)v usage comp-3
Reply with quote

Post some sample input/output records and the starting position of relevant fields. Also the LRECL/RECFM of input/output
Back to top
View user's profile Send private message
pavanchandana

New User


Joined: 05 Sep 2008
Posts: 15
Location: Hyderabad

PostPosted: Sat Nov 08, 2008 5:40 pm    Post subject: Reply to: How to move x(30) to S9(15)v usage comp-3
Reply with quote

LRECL=489 and RECFM=FB.

The starting position of the input field is 21.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2284
Location: @my desk

PostPosted: Sat Nov 08, 2008 6:02 pm    Post subject:
Reply with quote

Quote:
Post some sample input/output records

30 numeric digits will require 16 bytes in packed decimal. How did you arrive at 15? How does your input look like?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Nov 08, 2008 10:18 pm    Post subject:
Reply with quote

Hello,

Quote:
Can you tell me how to move x(30) to S9(15)v usage comp-3 using syncsort
As worded, it cannot be done - at least not with a result that is usable.

What you have asked (whether it is what you intended or not) is how to move 30 characters (30 bytes) into 8 bytes (15 packed digits + a sign).

If you show complete details of what you want to do someone will be better able to reply.

The most important part of getting help from the forum is clearly posting what you want. Something to keep in mind is that while your question is completely clear to you, it may not be to those who read it 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 DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:21 pm


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