IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

COBOL Report view in Mobile devices


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
balaji81_k

Active User


Joined: 29 Jun 2005
Posts: 155

PostPosted: Thu Jun 23, 2016 6:41 pm
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: 446
Location: USA

PostPosted: Thu Jun 23, 2016 7:58 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 23, 2016 8:09 pm
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

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Thu Jun 23, 2016 8:09 pm
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: 1742
Location: Tirupur, India

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

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

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top