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
 

 

Convert PD and BI to ZD format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Convert PD and BI to ZD format
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: 1746
Location: Bloomington, IL

PostPosted: Wed Sep 12, 2012 2:42 am    Post subject: Re: Convert PD and BI to ZD format
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

Site Director


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

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

Hello and welcome to the forum,

If you are a beginner, you will probably want to use our beginner/student forum:
http://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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Wed Sep 12, 2012 5:16 am    Post subject: Reply to: Convert PD and BI to ZD format
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    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 How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Convert +9999999999999.99 to S9(12)V9(3) vnktrrd DFSORT/ICETOOL 8 Thu Nov 17, 2016 8:15 pm
This topic is locked: you cannot edit posts or make replies. Db2 SQL query to convert rows into co... subratarec DB2 5 Thu Nov 17, 2016 4:51 pm
No new posts convert PD to ZD ram_vizag DFSORT/ICETOOL 5 Sat Nov 05, 2016 3:06 am
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm


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