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
 
COBOL Report view in Mobile devices

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

Active User


Joined: 29 Jun 2005
Posts: 118

PostPosted: Thu Jun 23, 2016 6:41 pm    Post subject: COBOL Report view in Mobile devices
Reply with quote

Hi ,

We are creating COBOL reports and those reports are emailed and report contents will be in the body of the email .However the reports are in PLAIN/TEXT format (content type) and thus results worst readability of the data with respect of alignment while seeing in laptops/mobile devices but the complete report is viewed in mobile(portrait & landscape mode) /laptops . We have changed the content type to HTML format and thus yields good readability with respect to alignment in latops/tablets , however the same report while view in mobile devices is good only when we have mobile devices in landscape mode . Can any one please suggest me how we can achieve compatability view in mobile devices .

1) Do we need to format the report with in mainframe environment ?
2) Do we need to ftp report in to a server and then use some other technology to format the report for the view comptability ?

Please advise or suggest me the best approach for making report view compatible in mobile devices?
Back to top
View user's profile Send private message

RahulG31

Active User


Joined: 20 Dec 2014
Posts: 427
Location: USA

PostPosted: Thu Jun 23, 2016 7:58 pm    Post subject: Reply to: COBOL Report view in Mobile devices
Reply with quote

As Robert said in another post, programming language is irrelevant here. The web browser only understands HTML and that is what needs to be formatted for Mobile Device/Desktop.

You should do more search on the web. If you are not aware, there is something called Bootstrap. Basically, It's a technique to adjust the CSS properties of a website(HTML), so that they are displayed differently on different resolution devices.

Nothing to do with COBOL.

.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8353
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 23, 2016 8:09 pm    Post subject:
Reply with quote

I thought I was moving both posts to All Other Mainframe Topics, but it looks like only my post moved.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1938
Location: NY,USA

PostPosted: Thu Jun 23, 2016 8:09 pm    Post subject:
Reply with quote

If you are a pure Mainframe person then you don't worry about this formatting and let the front end should take care of this.
Google 'how to make reports compatible in mobile devices' and open first few links.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1573
Location: Chennai

PostPosted: Sat Jun 25, 2016 4:53 pm    Post subject:
Reply with quote

Since you are already working with HTML report, Viewport can help you.
It is for dynamic scaling based on device.

http://www.w3schools.com/css/css_rwd_viewport.asp
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 SQL IN predicate using COBOL table jerryte DB2 16 Fri Jun 29, 2018 10:30 pm
No new posts Converting SAS code to Cobol or Easyt... Ashish.Raghav All Other Mainframe Topics 6 Fri Jun 29, 2018 6:01 pm
No new posts Can we use a file both as input and o... Chiku kumar COBOL Programming 11 Thu Jun 28, 2018 3:30 pm
No new posts Varying List Select SQL Query In DB2 ... NikhilGuptaGaya DB2 5 Wed Jun 27, 2018 11:01 pm
This topic is locked: you cannot edit posts or make replies. Need help - DB2 Dynamic SQL Program e... NikhilGuptaGaya DB2 6 Sat Jun 23, 2018 1:58 pm

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