Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Can we use output file of a cobol program as input to MATLAB

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

New User


Joined: 21 Jul 2008
Posts: 3
Location: pune

PostPosted: Mon Jul 21, 2008 2:32 pm    Post subject: Can we use output file of a cobol program as input to MATLAB
Reply with quote

Hi! This is your First post in our Forums! So please be sure to 1) Use meaningful and descriptive Topic Title 2) Try to post your query in the relevant forum category 3) Make sure your query is not already posted and solved in our forums, Use the Search facility and avoid Reposts! If you are following the above rules, delete this message and post your query here!
Back to top
View user's profile Send private message

agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Mon Jul 21, 2008 2:48 pm    Post subject:
Reply with quote

COBOL on which platform?
MATLAB can accept ASCII text files as input. As far as I know matlab finds its extensive use in DSP (Digital Signal processing), what kind of project are you working on?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Jul 21, 2008 3:14 pm    Post subject:
Reply with quote

Hi Rakesh,

When You post something you should delete the system generated messages which appear 'by default' on your first post.

By MATLAB here I think you mean "matrix laboratory", if so, in MATLB every thing is in matrix form while COBOL does have many other data types. What type of output do you get from your cobol program ?

I think it would not be that easy, tried to google on "COBOL to MATLAB conversion" but didn't find any good hit, I'll give some more tries.

If you mean something else by MATLAB, please let us know, so that some one here might have some better suggestion.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10234
Location: italy

PostPosted: Mon Jul 21, 2008 3:28 pm    Post subject: Reply to: Can we use output file of a cobol program as input
Reply with quote

/generic answer... on
YES, NO, it depends
/generic answer off

does MATLAB accept as input a sequential file,
what is the format of the sequential file ( text ??)
do all the fields of the sequential file have a cobol equivalent format
is there any platform compatiblity issue
( cobol on mainframe, MATLAB on PC, downloading the file to the PC ... )

check for example
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Jul 21, 2008 3:54 pm    Post subject:
Reply with quote

Hi Rakesh,

You might like to talk to Mathworks support

http://www.mathworks.com/support/contact_us/index.html
Back to top
View user's profile Send private message
rakesh mothukuru

New User


Joined: 21 Jul 2008
Posts: 3
Location: pune

PostPosted: Tue Jul 22, 2008 11:20 am    Post subject:
Reply with quote

Hi Anuj,

Thanks for the link you have provided.By MATLAB, I mean "matrix laboratory" only.Right now I didn't tried giving output of Cobol+ DB2 program as input to MATLAB. I will try that and if I get any problem regarding that, I will post a query again.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jul 22, 2008 12:06 pm    Post subject:
Reply with quote

Hi,
rakesh mothukuru wrote:
Thanks for the link you have provided.
You are welcome.. icon_smile.gif

Quote:
By MATLAB, I mean "matrix laboratory" only.Right now I didn't tried giving output of Cobol+ DB2 program as input to MATLAB. I will try that and if I get any problem regarding that, I will post a query again.
It takes be back to my college time, where I'd a project done in MATLAB, never thought to use it with COBOL. Looking forward to your reply... Good Luck.. icon_smile.gif

Just to correct myself
Quote:
in MATLAB every thing is in array form
matrix is an in-built function there.. icon_redface.gif

BTW, you didn't answer Abhijit's question
Quote:
what kind of project are you working on?
Back to top
View user's profile Send private message
rakesh mothukuru

New User


Joined: 21 Jul 2008
Posts: 3
Location: pune

PostPosted: Tue Jul 22, 2008 12:55 pm    Post subject:
Reply with quote

I am working in a project which has just started. My role in that is to extract the data from the DB2 database and to keep it in a file and that file is the input to the Matlab to generate some reports. However, Mainframes is not yet installed in our systems, that's why it may take some time for me to try that.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jul 22, 2008 1:07 pm    Post subject:
Reply with quote

Hi,

Carry on & keep us posted, Good Luck... icon_smile.gif
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 RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us