IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Convert PD and BI to ZD format


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
maliknsy

New User


Joined: 12 Sep 2012
Posts: 1
Location: London

PostPosted: Wed Sep 12, 2012 2:34 am
Reply with quote

Hi,
Can you help me providing a JCL SORT for below.

01 fields.
10 field-1 pic s9(9) COMP.
10 field-2 pic s9(9) COMP.
10 field-3 pic x(20)
10 field-4 pic S9(03)V9(4) COMP-3
10 field-5 pic S9(07)V9(2) COMP-3

I need SORT OUTREC syntax for above... For example OUTREC FIELDS =(1:1,5,BI,TO=ZD,...

Please try to explain syntax as well as DATA at first position of input file with length 5 will be written at 1st position of output file...
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Sep 12, 2012 2:42 am
Reply with quote

maliknsy wrote:
Can you help me providing a JCL SORT for below.

Can you help the provider by paying heesh usual billing rate? (On the close order of Rs. 50,000/day).
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Sep 12, 2012 2:51 am
Reply with quote

Hello and welcome to the forum,

If you are a beginner, you will probably want to use our beginner/student forum:
www.ibmmainframeforum.com/index.php

Which sort product are you using?

It looks like you have a start - suggest you get the first field working and then proceed. If/When you get stuck, post what you have tried and what happened.

Please do not ask for code. The goal of the forum is mostly to help people learn. It is inappropriate to ask people to do your work for free (as all of the helpers/moderators here are volunteers).

If you want to hire someone to do a particular task, contact them via PM and if you come to terms, great.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Sep 12, 2012 5:16 am
Reply with quote

Unless you have something to actually do, you don't need anything on your OUTREC.

So what do you want to do?

EDIT: Noticed the subject...

Have you specified a LENGTH for your ZD?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
No new posts InfoSphere OPTIM CSV ouput vs DSNTIUA... IBM Tools 3
Search our Forums:

Back to Top