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 Setting Font Type for XMIT satish.ms10 All Other Mainframe Topics 3 Fri Sep 15, 2017 10:01 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm

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