Sorry, you do not have permission to ask a question, You must login to ask a question.

Sorry, you do not have permission to ask a question.

brainchime.com

brainchime.com

brainchime.com Navigation

  • Home
  • About Us
  • Contact Us

Mobile menu

Close
  • Home
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags

brainchime.com Latest Questions

Admin
Admin
Asked: October 6, 20242024-10-06T12:20:48+05:30 2024-10-06T12:20:48+05:30In: SQL

How can i access system36 files using SQL?

We have system36 files, and since these files are not externally described files and are internally described files within system36 programs with predefined structures within the program itself. Please tell us if we can access the system36 files using SQL.

db2system-36
  • 0
  • 0
  • 11
  • 7
  • Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

Related Questions

  • What is access path in AS400?
  • What is the difference between source physical file and physical file in as400?
  • What is DDS in AS400?
  • What is the difference between PF and LF in as400?
  • Why do we use CHGPF command in AS400?
  • how to create physical file in as400?
  • What are the data types supported by physical files in AS400?
  • how to add data in physical file in as400?
  • How to run stored procedure in AS400?
  • How to find damaged objects in AS400?
  • What is the multi-format logical file in AS400?
  • How to call sql stored procedure with output parameter from within a cl program?
  • How to use declare global temporary table statement in RPGLE?
  • How to call sql stored procedure in cl program?
  • SQL0469 on calling a SQL procedure containing an INOUT parameter
  • What are the equivalent SQL data types to ile rpg data types?
  • How to check for locks on a file or table using SQL?
  • how to replace hex values in a file field using SQL?
  • Can i download the results as a file using the run sql script option on the ACS software?
  • How can i derive the week from a YYYYMMDD formatted date?
  • What are the characters that are supported by 128 bar codes?
  • How to identify the files that have the value for a field automatically generated by an identity?
  • How to run SQL queries from text files using RUNSQLSTM?
  • How do i find the database name on the IBM i?
  • How can i use SQL if the IBM i does not have STRSQL installed?
  • How to use commitment control with DB2 SQL on IBM i?
  • How to create an SQL function for calculating the number of business days between two dates?
  • How to specify the database/ASP when using Run SQL script?
  • how to get the number of records and file size for all the files in a given IBM i library?
  • How to find the library list of my IBM i session using SQL?
  • How to change STRSQL session to use library list?
  • Can we provide spaces between colon and host variable in embedded SQL in IBM i?
Leave an answer

Leave an answer
Cancel reply

Browse
Browse

Choose from here the video type.

Put Video ID here: https://www.youtube.com/watch?v=sdUUx5FdySs Ex: "sdUUx5FdySs".

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Admin
    Admin
    2024-10-06T12:22:49+05:30Added an answer on October 6, 2024 at 12:22 pm
    This answer was edited.

    Because there is no external description for system36 files. Thus, all of that data is contained in a single field when you access the file in SQL. Therefore, when you want to use SQL to access data from a system36 file you need to substring the data you want from the field.

    For Example, if the System36 file name is FILE1, and its single field is FLD1 then you can use the below SQL to get data from system36 files, You can change substring positions at your end as per your system36 file.

    Select substr(fld1, 5, 4), substr(fld1,10,5) from FILE1
    where substr(fld1,1,4) = 'A001'

    Please note that you can get the field name of the system6 file by typing SQL select * from file1 and taking F4 to prompt the SQL query and then prompt the select fields.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp

Sidebar

Statistics

  • Questions 143
  • Answers 177
  • Comments 0
  • Popular
  • Answers
  • Admin

    Why do we use OVERLAY keyword in data structure subfields ...

    • 12 Answers
  • Admin

    How to call sql stored procedure with output parameter from ...

    • 6 Answers
  • Admin

    How to use declare global temporary table statement in RPGLE?

    • 5 Answers
  • Admin
    Admin added an answer CPF4131 is a record format level check error. This indicates… October 18, 2024 at 1:58 am
  • Admin
    Admin added an answer To open the command prompt with administrator rights you can… October 17, 2024 at 12:27 am
  • Admin
    Admin added an answer In AS400, "AS" stands for Application system. This article discusses… October 13, 2024 at 12:49 pm

Related Questions

  • Admin

    What is access path in AS400?

    • 1 Answer
  • Admin

    What is the difference between source physical file and physical ...

    • 1 Answer
  • Admin

    What is DDS in AS400?

    • 1 Answer
  • Admin

    What is the difference between PF and LF in as400?

    • 1 Answer
  • Admin

    Why do we use CHGPF command in AS400?

    • 1 Answer

Trending Tags

.htaccess (1) as400 (123) bing-webmaster (2) control-language (12) db2 (33) ftp (8) google-adsense (1) google-search-console (3) https-redirect (1) iasp (4) ifs (22) jar (4) operations (3) php-my-admin (1) qshell (3) robots.txt (4) rpg (26) stored-procedure (3) stroed procedure (1) triggers (1) yoast (4)

Explore

  • Home
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags

Footer

BrainChime

BrainChime is a blog that posts question-and-answer-based format articles on diverse topics and engages in discussions by allowing people to provide answers/comments without the need to register and log in.

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • FAQs
  • Categories
  • Tags

© 2024 BrainChime. All Rights Reserved
by BrainChime.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.