ASNA Knowledge Base

Search the knowledge base

Working with numeric dates in AVR for .NET

Working with dates is something many RPG programs do extensively. In the old days of AVR Classic, we used to have to use lots of data structures and other special-case code to format dates, convert dates. It was also quite challenging to do date arithmetic and perform other sophisticated date manipulations. AVR for .NET’s Date, Time, and *TimeStamp help resolve all of these issues. However, many shops still store dates (and times) as numeric values in their database. This seems to preclude using some of .NET’s really great date handling and manipulation. This article changes that and shows how to integrate your numeric date and time values with .NET’s great date and time handling.

Read Article »

Using IBM’s Open Query File with ASNA Visual RPG

Finding records where a field contains a given value is an awkward thing to do with RPG’s record-level access. In either green-screen RPG or ASNA Visual RPG (AVR), the ugly solution is simple, loop over every record in the file checking each field as you go. This works, but have something nearby to keep you occupied while you wait. This article provides an alterative to that record level access using AVR for .NET’s Open Query File.

Read Article »

Getting to know ASNA Visual RPG

This document introduces several of the unique and powerful features of ASNA Visual RPG for .NET (AVR). Whether you’re a traditional RPG programmer with little or no experience with other languages, or a veteran VB/C# programmer, this document provides an overview of several of AVR’s language concepts and syntactical details.

Read Article »