View previous topic :: View next topic |
Author |
Message |
herode Beginner
Joined: 09 May 2005 Posts: 3 Topics: 2 Location: france
|
Posted: Mon May 09, 2005 10:11 am Post subject: IKJEFT01 SYSIN SYNTAX capability descriptions |
|
|
hello,
Where is posible to find all sysin statements reference available with PGM IKJEFT01
exemple : Find the syntax of CHANGE fonction (ISREDIT) when editing member in batch mode to change data inside (CHANGE =TOTO=TITI=). The syntax is not the same like in rexx program (CHANGE 'TOTO 'TITI') .
thanks so lot
 _________________ françois |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
herode Beginner
Joined: 09 May 2005 Posts: 3 Topics: 2 Location: france
|
Posted: Mon May 09, 2005 11:35 am Post subject: |
|
|
HELLO RAVI & KOLUSU,
do not have so kick judgement of my post. some time it's better to ask for additional informations than respond that I do not have look for inside the forum database!
Your both links do not respond to my question.
I have find this JCL :
//EDIT2 EXEC PGM=IKJEFT01,DYNAMNBR=40,REGION=6M
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
ALLOCATE DATASET('DSN1.REPORT.TEST( _________________ françois |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon May 09, 2005 12:18 pm Post subject: |
|
|
When you issue the TSO HELP EDIT command, the first items listed in the help text are all of the EDIT Subcommands. To obtain the help information for any of the subcommands, enter HELP subcommand while in EDIT:
Code: |
TSO EDIT TEST OLD DATA NONUM
EDIT
HELP CHANGE
FUNCTION -
THE CHANGE SUBCOMMAND IS USED TO MODIFY A CHARACTER-STRING IN A LINE
OR RANGE OF LINES.
SYNTAX -
CHANGE 'LINE-SPEC' 'COUNT2'/'CHAR-STRING'/=TEXT1=TEXT2=ALL
REQUIRED - 'COUNT2'/'CHAR-STRING'/=TEXT1=TEXT2
DEFAULTS - 'LINE-SPEC' DEFAULTS TO * .
ALIAS - C
OPERANDS -
'LINE-SPEC'
- * FOR THE CURRENT LINE. * 'COUNT1' OR 'LINENUM1,LINENUM2'
FOR A RANGE OF LINES. 'LINENUM' FOR A PARTICULAR LINE.
'COUNT2' - THE SPECIFIED NUMBER OF CHARACTERS IS PRINTED FROM THE
BEGINNING OF EACH LINE SPECIFIED. THE USER RESPONDS BY
COMPLETING THE LINE(S).
'CHAR-STRING'
- A SEARCH FOR THE SPECIFIED CHARACTER STRING IS MADE IN THE
LINE(S) SPECIFIED. THE FIRST LINE IN WHICH IT IS FOUND IS
PRINTED UP TO THE STRING, AND THE USER COMPLETES THE LINE.
'=TEXT1=TEXT2='ALL
- = MAY BE ANY NON-NUMERIC CHARACTER EXCEPT BLANK, COMMA,
TAB,PARENTHESIS,ASTERISK,APOSTROPHE,OR SEMICOLON. IT
DELIMITS THE STRING AND CANNOT APPEAR WITHIN THE CHARACTER
STRINGS TEXT1 AND TEXT2. THE LINE OR RANGE OF LINES IS
SEARCHED FOR TEXT1, WHICH, IF FOUND, IS REPLACED BY TEXT2.
THE KEYWORD 'ALL' IS OPTIONAL AND CAUSES EVERY OCCURRENCE
OF TEXT1 TO BE REPLACED IN THE LINE(S). EXAMPLES -
==TEXT2= TEXT2 WILL BE INSERTED IN FRONT OF THE LINE(S).
=TEXT1== TEXT1 WILL BE DELETED FROM THE LINE(S).
EDIT
END SAVE
|
|
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Mon May 09, 2005 7:18 pm Post subject: |
|
|
No one concisely pointed out that you are not using ISREDIT commands. ISREDIT commands are for the ISPF editor and you are using the native TSO line mode editor. As mentioned that is documented in the TSO/E books. ISREDIT commands will be in the ISPF books but calling ISPF requires a little more setup in your JCL. Search for BATCHPDF to find out about that setup if you want to use the power of ISPF. |
|
Back to top |
|
 |
|
|