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
 
Need help in editable format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rajeevdas03
Warnings : 1

New User


Joined: 21 Jan 2006
Posts: 19
Location: Mumbai

PostPosted: Mon Apr 29, 2013 2:46 am    Post subject: Need help in editable format
Reply with quote

Hi,

10 ABC PIC X(8).
10 def PIC S9(9) USAGE COMP.
10 lmn PIC S9(9) USAGE COMP.
10 xyz PIC X(26).


I have my file layout in this format.

i want to present this data in notepad in comma editable format.

I am having a problem to this in editable format.
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Mon Apr 29, 2013 3:06 am    Post subject: Reply to: Need help in editable format
Reply with quote

You won't be able to convert binary fields to ASCII, and you won't be able to edit binary fields in wordpad, and if you want commas you'll need commas. Make the COMP fields "NUMERIC EDITED" with a sign.
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: Mon Apr 29, 2013 3:57 am    Post subject:
Reply with quote

Hello,

Read the file you have and reformat to DISPLAY numbers (instead of COMP) and inert commas beween the fields.

You could use your sort product or the COBOL STRING to do this.

When the file is downloaded, it will have been properly converted to ASCII and ready to use.
Back to top
View user's profile Send private message
rajeevdas03
Warnings : 1

New User


Joined: 21 Jan 2006
Posts: 19
Location: Mumbai

PostPosted: Mon Apr 29, 2013 5:11 am    Post subject:
Reply with quote

dick scherrer wrote:
Hello,

Read the file you have and reformat to DISPLAY numbers (instead of COMP) and inert commas beween the fields.

You could use your sort product or the COBOL STRING to do this.

When the file is downloaded, it will have been properly converted to ASCII and ready to use.


Thanks, can you please tell me how we can do it thru Sort card.
Back to top
View user's profile Send private message
rajeevdas03
Warnings : 1

New User


Joined: 21 Jan 2006
Posts: 19
Location: Mumbai

PostPosted: Mon Apr 29, 2013 5:14 am    Post subject: Reply to: Need help in editable format
Reply with quote

Thanks for reply,

can you please help me how to do it thru sort catrd, I am getting error in sorting, please tell me the syntax of how to convert the field.
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: Mon Apr 29, 2013 5:55 am    Post subject:
Reply with quote

Hello,

Post the JCL and sort control statements, the messages generated (including the message ids), the definition of the input data, and some example of the output you want.
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 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
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am

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