小魚JCL學習筆記(一)

johnson07發表於2007-08-01

1. 三種work Time-Sharing(TSO)On-line(CICS)Batch

2. TSOCICSwork unitsessionBatchwork unitjob

3. 每個job都需要提出requirement:包括program, sequence, dataset, hardware, accounting information, priority

4. 高階語言執行步驟:一是compile,二是link edit,三是execute

5. JOB LIFE CYCLE:一是input給予一個ID,然後把JCL放到spool裡面;二是conversion,拿出JCL,檢查語法錯誤,然後轉換為internal text;三是execution,把internal text讀入initiator;四是output;五是print/punch,可以把結果輸出到當地印表機/遠端印表機,甚至另外一個計算機系統;六是purge,釋放記憶體和job ID

6.

7. An Initiator is a group of routines whose sole function is to select a job from the job queue and execute it under its control.

8. Job 執行在initiator address space下面,每個initiator服務於一個job class.

9.

10. exec 查詢順序:一是Job pack area,二是joblibsteplib,三是link pack areas,四是link list裡。

11. JCL錯誤:一是syntax errorsjobsub,由JES檢出;二是退出ABEND,由MVS執行;三是使用者程式檢出,使用者自身可以行動。

12. ABEND原因:一是系統認為不可能服務或者不接受;二是邏輯錯誤;三是JCL 語法錯誤類;四是資源不可取;五是時間或者空間的超限;六是硬體故障;七是使用者自己ABEND;八是操作員的干涉,九是作業系統失敗。

13. 一旦ABEND,後發的程式就不做了,除非有COND

14. 如果是操作員干涉或者時間限制道,任何後發步驟都不會做。

15. Leading commas and trailing commas.

16. 程式內容從17172用於附加註釋,7380編號。

17. JOB statement後面的內容都從屬於這個JOB,直到遇到/*

18. 一個JOB最多含有255EXEC

19. 特殊的dd name: JOBLIB STEPLIB STEPCAT SYSUDUMP

20.

21. ACCOUNT FIELD最多有142個字元,如果有特殊字元,用括號或者’’programmer 最長20個字元,不包括引號括號。

22.

23. 時間超限,BEND=S322

24. time=1 to 1439,若為1440,則為無限制時間。如online-system

25. typrunscan 檢查完語法就回家,hold檢查完語法然後休息,jclhold不檢查語法就休息。

26. PRTY0——15,最高15

27. RESTART=[stepname|procexec.stepname|*] Star (*) - indicates the Job will begin from first step.

28. 當使用restart時候,EXEC名字不要重複,Proc名字也不重複,Step要有名字。

29. ADDRSPC=[VIRT|REAL] 這個東西在jobEXEC裡面都有,JOB裡優先

30. region最大2096128K,或者2047M

31. EXEC 引數 DPRTY dispatching priority0-15

32. PARM的傳遞string 不能超過100個字元,如果要用到&,則寫成PARM=&&, ‘’

33. PERFORM=(1 to 999)

34. EXEC JOB的公共引數:ADDRSPC, REGION, TIME, COND,除了COND,都是JOB優先

35. 同一個step只能有一個ddname,如果有多,則會被allocated但是不被執行。

36. DISP parameters defaults:

If DISP parameter not coded -- (NEW,DELETE,DELETE)

DISP=OLD -- (OLD,KEEP,KEEP)

DISP=NEW -- (NEW,DELETE,DELETE)

DISP=SHR -- (SHR,KEEP,KEEP)

DISP=(,KEEP) -- (NEW,KEEP,KEEP)

37. UNCATLG- has a meaning for non-SMS and non-VSAM dataset. For an SMS managed and VSAM dataset UNCATALG defaults to KEEP.

PASS. This indicates that an entry for the dataset that contains DSN, VOL and UNIT parameter be placed on a table in storage, the passed dataset queue. This entry is to be used in subsequent step to receive the passed dataset.

38. 一個step裡最多可以用3273ddname

39. UNIT的引數:Affinity: requests that the system allocates different data sets residing on different removable volumes to the same device during the execution of the step.

Group name: requests a group of devices with a symbolic name which is assigned by the installation at the system generation or IBM assigned.

• Unit count: specifies the number of devices for the data set.

• Defer: requests that the volume(s) not be mounted until the data set is opened.

40. VOLUME OR VOL

a) • Can request a specific volume by means of the serial number (SER).

b) • Can request a specific volume by requesting the same volume(s) used by another data set (REF). • Can request a specific volume by referring back to a previous DD statement.

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9895607/viewspace-929772/,如需轉載,請註明出處,否則將追究法律責任。

相關文章