the command to open a dataset directly from the JCL instead
of opening it separately using 3.4 option.
Answers were Sorted based on User's Feedback
Hi................
U can also open a file using dslist
as following.
DSLIST 'COOL.TOP.JCL'
Thanks.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / aswini
There is a command availablemode
Thus, we can avoid using 3.4 option.
Issue : EPDF ‘MYID.MYPS’ . The Dataset will be opened in
EDIT MODE
If you want to open in VIEW mode:
Issue : EPDF ‘MYID.MYPS’VIEW
Similarly, for opening in BROWSE mode, typeB ROWSE at the
end.
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / vishwadeep
at the command prompt give CB or CE depending on(browse or
edit) and hit enter placing the
cursor on the DSN which you want to open.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / pradeep k (cr)
write either LV(to open in view mode) or ED(to open in EDIT
mode) in command prompt and select your dataset by keepking
mouse point at that dataset. Now hit enter, selected
dataset will open.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / ranjit
1.Type "LDSN" in the command line
2.Place the cursor on the dataset you want to open
and Hit enter
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / muttaiah
Hi,
There is no such command as far as i know, We can create a
rexx macro using which we can open in edit/view/browse mode
without using 3.4 option.
I hope you didn't work in real time that's why not aware of
this thing.
Thanks,
Muttaiah.
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / vani
In changeman tool,
at the command prompt give b/v/d and hit enter placing the
cursor on the DSN which you want to open.
In rational tool,
at the command prompt give du b/v/d and hit enter placing
the cursor on the DSN which u want to open
b-browse
v-view
d-delete
| Is This Answer Correct ? | 0 Yes | 3 No |
What statement can be used to send data to another mvs jes3 node?
i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.
I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...
i have a string of 80 chars i want to replace 4th char with "a"?
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.
What is the function of the dd avgrec keyword in sms datasets?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
how can the same proc be re-used and called by many jobs?
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00