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: 1770
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: 7315

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 Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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