Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1783
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: 7314

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 Can EDCICONV convert EBCDIC to ASCII... natt.sut IBM Tools 3 Fri Nov 17, 2017 8:46 pm
No new posts Format Last Record differently from r... Learncoholic DFSORT/ICETOOL 5 Tue Oct 24, 2017 12:01 pm
No new posts Format issues using XMITIP MSGDD ssdjp1 CLIST & REXX 5 Mon Oct 23, 2017 8:47 pm
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us