Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGHADAOS-14541: Update copyright for adabas-go-api #50

Merged
merged 1 commit into from
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN groupadd -g $group_id sagadmin && \
COPY --from=adabas /etc/profile.d/sagenv.sh /etc/profile.d/sagenv.sh
COPY goenv.sh /etc/profile.d/goenv.sh

# Software AG basic environment
# Software GmbH basic environment
ENV SAG /opt/softwareag
ENV ADAPROGDIR /opt/softwareag/Adabas

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
# Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
2 changes: 1 addition & 1 deletion Makefile.win
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
# Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For details have a look at the API documentation. It can be referenced here: <ht

In general, users of the Adabas API for Go do **not** need to know a basic level of Adabas APIs such as Adabas control blocks or Adabas buffer layouts.
The Adabas API for Go provides a more user friendly and optimized use of Adabas files and fields.
It is similar to the `Adabas Client for Java` product delivered by Software AG.
It is similar to the `Adabas Client for Java` product delivered by Software GmbH.

This is a list of features which the Adabas API for Go supports:

Expand Down Expand Up @@ -90,7 +90,7 @@ Independent of the used environment of Docker (like Kubernetes or others), it de

### Standard usage

The logical view of the data can be defined using Adabas Maps. The Adabas Maps are introduced in the *Adabas Client for Java* product delivered by Software AG. A detailed description of Adabas maps is available [here](.//doc//AdabasMap.md).
The logical view of the data can be defined using Adabas Maps. The Adabas Maps are introduced in the *Adabas Client for Java* product delivered by Software GmbH. A detailed description of Adabas maps is available [here](.//doc//AdabasMap.md).

The creation of Adabas maps is done by the infrastructure of the *Adabas Client for Java*. The product contains a Adabas Data Designer rich client or Eclipse plugin. The tools provide the management of Adabas map definitions. A programmatical approach to create Adabas maps is part of the Adabas API for Go.

Expand Down Expand Up @@ -261,10 +261,10 @@ By using the native `AdabasClient` library, you can access all platforms Adabas
Step by step all relevant Adabas features are or will be supported.

______________________
These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.
These tools are provided as-is and without warranty or support. They do not constitute part of the Software GmbH product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software GmbH welcomes contributions, we cannot guarantee to include every contribution in the master project.
______________
For more information you can Ask a Question in the [TECHcommunity Forums](https://tech.forums.softwareag.com/tag/adabas).

You can find additional information in the [Software AG TECHcommunity](http://techcommunity.softwareag.com/home/-/product/name/adabas).
You can find additional information in the [Software GmbH TECHcommunity](http://techcommunity.softwareag.com/home/-/product/name/adabas).
______________
Contact us at [TECHcommunity](mailto:[email protected]?subject=Github/SoftwareAG) if you have any questions.
2 changes: 1 addition & 1 deletion adabas/adabas.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/adabas_const.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/adabas_const_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2021-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2021-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
6 changes: 3 additions & 3 deletions adabas/adabas_message.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -44,7 +44,7 @@ func (adabas *Adabas) getAdabasMessage() []string {
if msg == "" {
msg = fmt.Sprintf("Unknown error response %d subcode %d (%s)", adabas.Acbx.Acbxrsp, adabas.Acbx.Acbxerrc, msgCode)
}

if bytes.Equal(adabas.Acbx.Acbxadd2[:], []byte{0x00, 0x00, 0x00, 0x00}) || bytes.Equal(adabas.Acbx.Acbxadd2[:], []byte{0x20, 0x20, 0x20, 0x20}) {
msg = fmt.Sprintf("%s (rsp=%d,subrsp=%d,dbid=%s,file=%d)", msg, adabas.Acbx.Acbxrsp,
adabas.Acbx.Acbxerrc, adabas.URL.String(), adabas.Acbx.Acbxfnr)
Expand All @@ -55,7 +55,7 @@ func (adabas *Adabas) getAdabasMessage() []string {
adabas.Acbx.Acbxadd2,
adabas.URL.String(), adabas.Acbx.Acbxfnr)
}

if adabas.Acbx.Acbxrsp > 3 {
adatypes.Central.Log.Infof("Error message %s", msg)
adatypes.Central.Log.Infof("Add1: %v", adabas.Acbx.Acbxadd1)
Expand Down
2 changes: 1 addition & 1 deletion adabas/adabas_message_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/adabas_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
6 changes: 3 additions & 3 deletions adabas/adabasbuffer.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -33,8 +33,8 @@ import (
*/
const abdEyecatcher = 'G' /* G - EYECATCHER */
const abdVersion = '2' /* 2 - VERSION */
//const E_ABD_EYECATCHER = 0xc7 /* EBCDIC G - EYECATCHER */
//const E_ABD_VERSION = 0xf2 /* EBCDIC 2 - VERSION */
// const E_ABD_EYECATCHER = 0xc7 /* EBCDIC G - EYECATCHER */
// const E_ABD_VERSION = 0xf2 /* EBCDIC 2 - VERSION */
const (
AbdAQFb = ('F') /* F-Format Buffer */
AbdAQRb = ('R') /* R-Record Buffer */
Expand Down
2 changes: 1 addition & 1 deletion adabas/adabasbuffer_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
6 changes: 3 additions & 3 deletions adabas/adabasstructure.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -32,8 +32,8 @@ import (

const acbxEyecatcher = 'F' /* F - EYECATCHER */
const acbxVersion = '2' /* 2 - VERSION */
//const eAcbxEyecatcher = 0xc6 /* EBCDIC F - EYECATCHER */
//const eAcbxVersion = 0xf2 /* EBCDIC 2 - VERSION */
// const eAcbxEyecatcher = 0xc6 /* EBCDIC F - EYECATCHER */
// const eAcbxVersion = 0xf2 /* EBCDIC 2 - VERSION */
const acbxLength = 192

// Dbid Adabas database identifier
Expand Down
2 changes: 1 addition & 1 deletion adabas/adabasstructure_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/adalnk.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// +build adalnk,cgo

/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/adalnk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// +build adalnk,cgo

/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// +build adalnk,cgo windows

/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/call_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// +build !adalnk,windows

/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
4 changes: 3 additions & 1 deletion adabas/connection.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -56,6 +56,7 @@ var onceBody = func() {
// - Database id: 23
// - Adabas TCP on port 60023: 23(adatcp://pchost:60023)
// - Adabas Entire Network (Java only): 23(tcpip://pchost:50001)
//
// The connection string must contain:
// - To access database classic targets
// acj;target=<database url>
Expand All @@ -72,6 +73,7 @@ func NewConnection(connectionString string) (*Connection, error) {
// - Database id: 23
// - Adabas TCP on port 60023: 23(adatcp://pchost:60023)
// - Adabas Entire Network (Java only): 23(tcpip://pchost:50001)
//
// The connection string must contain:
// - To access database classic targets
// acj;target=<database url>
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_bench_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_cursoring_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_descriptor_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_hold_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2020-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2020-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_inmap_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2020-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2020-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_interface_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2020-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2020-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_lobstore_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2020-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2020-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_mainframe_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_map_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_period_group_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_secure_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_store_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_transaction_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/connection_update_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/cursoring.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2019-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/delete_request.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion adabas/delete_request_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2018-2022 Software AG, Darmstadt, Germany and/or its licensors
* Copyright © 2018-2025 Software GmbH, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
Loading