MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Converting sign leading seperate ZD to PD

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Ranjish
Beginner


Joined: 22 Dec 2002
Posts: 64
Topics: 28
Location: Chennai

PostPosted: Fri Apr 08, 2005 2:54 am    Post subject: Converting sign leading seperate ZD to PD Reply with quote

Hi,

We tried with the following code for converting from Sign leading seperate ZD to PD . The problem is the output we get doesn't have the sign eventhough we have it in input( Note: Value comes correctly)...Pls advice how to goabout with this...
Code:

//SYSIN    DD  *                             
  SORT FIELDS=COPY                           
  OUTREC FIELDS=(1,41,                       
           42,6,ZD,PD,LENGTH=3,               
           48,10,                             
           58,6,ZD,PD,LENGTH=3,               
           64,8,ZD,PD,LENGTH=4,               
           72,116)                           
/*
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Apr 08, 2005 7:27 am    Post subject: Reply with quote

Ranjish,

You need to use CSL or FS format for Sign seperate defined fields. For a table that shows the equivalent DFSORT formats for various COBOL data types, see the "What are the equivalent DFSORT formats for various COBOL data types?" Ask Professor Sort item at:

http://www.ibm.com/servers/storage/support/software/sort/mvs/professor_sort/

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Fri Apr 08, 2005 10:06 am    Post subject: Reply with quote

Quote:
You need to use CSL or FS format for Sign seperate defined fields.


CSL is not supported for conversion (e.g. p,m,CSL,PD,... is NOT valid).

FS is supported for conversion (i.e. p,m,FS,PD,... is valid).

In addition, with z/OS DFSORT V1R5 PTF UQ95214 or DFSORT R14 PTF UQ95213 (Dec, 2004), the new SFF format is supported for conversion (i.e. p,m,SFF,PD,... is valid). For more information on SFF, see:

www.ibm.com/servers/storage/support/software/sort/mvs/pdug/

Whether you would use FS or SFF depends on exactly what your data looks like.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group