IMSDB Clarfication

IMS DB database, DL/I commands etc

Moderator: Moderator Group

Post Reply
maniacemech
Member
Posts: 2
Joined: Thu Jan 10, 2013 4:54 pm

IMSDB Clarfication

Post by maniacemech » Thu Jan 10, 2013 5:09 pm

Hi,

I need a Clarification in IMS, whether Is it possible to fetch data from the IMSDB and process the output records into a array and use for further validation.

example:
in IMSDB:
A B
130101 999999
120101 130101
090101 100101
100101 110101
080101 090101
070101 080101

get the values between 070101 to 120101, we get the below condition satisfied. The valuse are not sorted.
110101 120101
090101 100101
100101 110101
080101 090101
070101 080101

Is it possible to handle all these values in the Array and get the latest up date

maniacemech
Member
Posts: 2
Joined: Thu Jan 10, 2013 4:54 pm

Post by maniacemech » Thu Jan 10, 2013 5:10 pm

Else can some one suggest any feisable solution

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Fri Jan 11, 2013 2:50 am

What you want is not clear . . .

I'm not sure why this is considered an IMS question :?

Wherever the data is read from, the code can keep track of the "latest" with no need for an array (unless i completely misunderstand).
Have a good one

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Mon Jan 14, 2013 12:58 pm

Once the data is in COBOL Table, yes it can be handled the way you ask for. But you've posed the question very badly to get a useful answer.
Regards,
Anuj

Bookosweet
Member
Posts: 2
Joined: Tue Jul 26, 2016 4:31 pm
Contact:

Post by Bookosweet » Tue Jul 26, 2016 4:38 pm

I understand this, I'm feeling a lot faster now. Because he was really good.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others