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
 
Data type conversion from FOCUS to COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Sat Mar 03, 2007 9:26 pm    Post subject: Data type conversion from FOCUS to COBOL
Reply with quote

Hi,
I searched for Focus Data type conversion in the forum but couldnot find anything useful.

I have a fields with Cobol declaration as S9(9) COMP-3 and repective FOCUS declaration as P11.0 .

While running to Focus job is there any way to convert this COMP-3 fields to display format.

Please let me know if the requirement is not clear.
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: Sun Mar 04, 2007 8:07 am    Post subject:
Reply with quote

Hello,

You should be able to move it to a Zoned Decimal field.
Back to top
View user's profile Send private message
h.dinesh

New User


Joined: 06 Dec 2006
Posts: 46
Location: Chennai

PostPosted: Wed Mar 07, 2007 11:48 am    Post subject:
Reply with quote

Rajen,

If you are trying to print in a Lotus file then there is no need to convert it. You may use:

Code:
ON TABLE SAVE AS <SAVE FILE NAME> FORMAT LOTUS


And if it is a PS then you can convert into alphanumeric and print

Code:
NEW_VAR /A6 = PCKOUT(OLD_VAR,6,NEW_VAR);


Dinesh
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Conversion of UTF-8 to EBCDIC muralikrishnan_new COBOL Programming 1 Tue Nov 21, 2017 5:33 pm
No new posts Mainframe Blocks to Tracks conversion upendrasri JCL & VSAM 1 Sat Nov 18, 2017 10:52 am

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