I want to read last record of physical file member.
In CL programming, How to read last record of physical file member
1k Views Asked by ashwini At
1
There are 1 best solutions below
Related Questions in IBM-MIDRANGE
- Restoring a WRKLNK file
- DB2/400 SQL subqueries
- SQL - Select only records where field contains either a given string explicitly OR or a range of strings within which given string falls
- Using SQL to view AS400 Journal data - Entry_Data in particular
- IBM Rational - indentation available in Rational 9.6.0.6?
- How to get a list of programs that uses a particular command in AS400
- DB2: Query Memberfile of a Table with SQL
- Using the routine CSNBOWH on IBM I - MD5
- Doing an external webservice call from rpgle program
- Mandatory field even if not the first field
- Create command similar to WRKLIBPDM
- RPG - how do we return a parameter using C-style "Return <Value>" syntax
- Getting data from AS400/IBM i through ODBC to excel
- Unable to monitor message inside SELECT statement
- Error java.net.SocketException: Socket is closed when closing AS400 Secure RPC session
Related Questions in CONTROL-LANGUAGE
- How can I specify which email address variables should not be processed by SNDSMTPEMM command?
- Running a batch File in AS400
- How to run a command that submit a JOB to QBATCH then get JOB number for later use in CL PGM
- IBM i RPG programs are referencing the wrong library after calling them using a JT400 connection pool
- CLLE SNDRCVF command not allowed
- In CL programming, How to read last record of physical file member
- Any way to know which operating system the client is connected from?
- How do you display SQL Select output from CL?
- How to check if variable is blank in CL?
- Mail database file as excel from AS400
- Last Occurrence of a character in a String in a CL
- How can I call a program 100 times in a CL?
- How do you email to a userlist in CL?
- CPYTOPCD command in CLP copies the DB2 file (containing XML) successfully but file does not show in QDLS subfolders
- How do CL commands build their exact parameter lists?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use an override to do this, but you can't read backwards in the file using CL, so what's the point? Probably better to use RPG.
But, you can position a file in CLP using:
You can prompt the command to find other positions. The ones I left out have to do with positioning by relative record number or by key.