{"id":30583340,"url":"https://github.com/synergex/ismkey_dd_filespec","last_synced_at":"2026-02-12T05:04:28.198Z","repository":{"id":149578466,"uuid":"435657441","full_name":"Synergex/ismkey_DD_FILESPEC","owner":"Synergex","description":"This is a modified version of the ismkey CodeExchange entry. It includes a subroutine that uses DD_FILESPEC to generate a file specification from a Repository structure, and a test program to demonstrate how to use the subroutine.","archived":false,"fork":false,"pushed_at":"2022-07-26T14:22:15.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-29T10:49:54.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Synergex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-06T21:45:55.000Z","updated_at":"2022-08-04T17:50:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1d55a3b-c956-4562-a88e-1b322894e3b9","html_url":"https://github.com/Synergex/ismkey_DD_FILESPEC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Synergex/ismkey_DD_FILESPEC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2Fismkey_DD_FILESPEC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2Fismkey_DD_FILESPEC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2Fismkey_DD_FILESPEC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2Fismkey_DD_FILESPEC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Synergex","download_url":"https://codeload.github.com/Synergex/ismkey_DD_FILESPEC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2Fismkey_DD_FILESPEC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29359360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-29T08:33:40.375Z","updated_at":"2026-02-12T05:04:28.191Z","avatar_url":"https://github.com/Synergex.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ismkey_DD_FILESPEC\u003cbr /\u003e\n**Created Date:** 1/10/2017\u003cbr /\u003e\n**Last Updated:** 1/10/2017\u003cbr /\u003e\n**Description:** This is a modified version of the ismkey CodeExchange entry. It includes a subroutine that uses DD_FILESPEC to generate a file specification from a Repository structure, and a test program to demonstrate how to use the subroutine.\u003cbr /\u003e\n**Platforms:** Windows\u003cbr /\u003e\n**Products:** Synergy DBL; Synergy DBMS; Repository\u003cbr /\u003e\n**Minimum Version:** 10.3.3a\u003cbr /\u003e\n**Author:** Tate Chamberlain\n\u003chr\u003e\n\u003cp\u003e\u003cstrong\u003eAdditional Information:\u003c/strong\u003e\nThis project contains a subroutine that will generate the parameters\nrequired to create an ISAM file based on a structure and file definition\nin the Synergy/DE Repository. It also includes a test program that will\nrun the subroutine from the command line, with the name of the structure\nas a command line argument.\n\nThis project is based on the earlier CodeExchange entry \"ismkey.zip\".\nSome of the modifications include:\n- Using DD_FILESPEC instead of DD_FILE to get the file specifications.\nThis demonstrates one way to use DD_FILESPEC, since there aren't\nmany examples.\n- Support for both structures where the kref value is explicitely\ndefined for each key and structures where the value is implicit.\nProvides an error message if a combination is attempted or if a\nkref value other than 0 is drepeated.\n- Removed code that relied on UI Toolkit.\n- Program made more user friendly, accepting the structure name\nas a command line argument instead of hard-coding it.\n- Various other code improvements.\n- Workbench project converted to Visual Studio Traditional Synergy\nproject.\nInstructions\n------------\n\nTo use the ismkey subroutine, inclue the ismkey.dbl source file in your\nprogram.\n\nTo run the test program, open ismkey.sln in Visual Studio, and use Visual\nStudio to build the program. Then run the program. It should create an\nISAM file in the 'dat' folder.\n\nThe program accepts the name of a Repository structure as a command line\nargument, and creates a file based on the specs for the first file that\nstructure is assigned to.\n\nThe test program comes with a sample Repository file that contains a\nsingle structure (\"TESTSTRUCT\"), which is assigned to the signle file\n(\"DATADIR:FILETEST.ISM\"). The Visual Studio project is set up to use that\nRepository structure (all of the appropriate environment variables are set,\nand the command line argument \"teststruct\" is provided on the Debug property\npage), so all you have to do is run the program.\n\nTo run the test program with your own Repository, either modify the command\nline argument in the project's properties or run the program from the\ncommand line and give it the appropriate structure name. In either case,\nmake sure to set the environment variabls (e.g. RPSMFIL and RPSTFIL) to\npoint to the Repository you want to use.\n\nWhen running from the command line, I would recommend running the program\nwith dbs instead of dbr to avoid the Synergy runtime window appearing for\na moment and disappearing again. Aside from that, it should run fine in\neither dbs or dbr.\n\nThe Workbench project is also included in case you don't have Visual Studio\nor you would simply prefer to build and run in Workbench instead of Visual\nStudio.\n\n\nThis code example is intended to be used with Traditional Synergy on\nWindows, but the code should be able to work on Unix, OpenVMS, and Synergy\n.NET on Windows as well. Some modification may be necessary.\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynergex%2Fismkey_dd_filespec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynergex%2Fismkey_dd_filespec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynergex%2Fismkey_dd_filespec/lists"}