Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum 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: 7312

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: 19254
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: 19254
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 Converting a copybook value into Json... srikant314 COBOL Programming 1 Mon Jun 03, 2019 11:17 am
No new posts How to convert hex to Displayable for... Log Thangavel DFSORT/ICETOOL 11 Fri Feb 22, 2019 9:33 am
No new posts File format conversion prino DFSORT/ICETOOL 22 Thu Feb 21, 2019 11:32 am
No new posts Regression testing of date format con... prino CLIST & REXX 0 Fri Jan 11, 2019 5:39 am
No new posts Code numeric format to display both '... Time2Live COBOL Programming 7 Wed Nov 21, 2018 10:20 pm

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